Star Micronics SP2000 manual EXAMPLE of transmitting data

Models: SP2000

1 81
Download 81 pages 44.24 Kb
Page 32
Image 32
EXAMPLE of transmitting data

(2) Define the download characters.

When character codes where the download character is written are specified as (21)H, (22)H, (23)H, n1 = (21)H, n2 = (23)H are obtained.

If the relationship between the character pattern data and printing head is specified to "not use pin 9", m0 = (80)H is obtained. When data m1 to m7 are converted into hexadecimal data, they are indicated as follows.

Data

Binary

Hex

 

Data

Binary

Hex

 

Data

Binary

Hex

m1

10100000

A0

 

m1

10011000

98

 

m1

00111000

3C

m2

00000000

00

 

m2

01100100

64

 

m2

01000010

42

m3

10100000

A0

 

m3

10000010

82

 

m3

10100101

A5

m4

00011111

1F

 

m4

00000001

01

 

m4

00000000

00

m5

10100000

A0

 

m5

10000010

82

 

m5

10100101

A5

m6

00000000

00

 

m6

01100100

64

 

m6

01000010

42

m7

10100000

A0

 

m7

10011000

98

 

m7

00111000

3C

EXAMPLE of transmitting data

(1)

Definition of

(1B)H

(26)H

(00)H

(21)H (23)H

(80)H

 

download characters

(A0)H (00)H (A0)H (1F)H (A0)H (00)H

 

 

(A0)H

(80)H

(98)H

(64)H (82)H

(01)H

 

 

(82)H (64)H (98)H (80)H (3C)H (42)H

 

 

(A5)H (00)H (A5)H (42)H (3C)H

 

(2)

Selecting the

(1B)H

(25)H

(31)H

 

 

 

download character

 

 

 

 

 

 

set

 

 

 

 

 

(3)

Character codes

(21)H

(22)H

(23)H

(0A)H

 

(4)

Canceling the

(1B)H

(25)H

(30)H

 

 

 

download character set

 

 

 

 

 

(5)

Character codes

(21)H

(22)H

(23)H

(0A)H

 

 

 

 

 

 

 

 

Print Sample

30

Page 32
Image 32
Star Micronics SP2000 manual EXAMPLE of transmitting data