Esc [ g – Compuprint 10200 Programmer Manual User Manual

Page 76

Advertising
background image

Commands

72

ESC [ g

Selects 8 or 24 needle dot graphics mode. (IBM)

ASCII Code

ESC [ g

l h m n

1

… n

k

Hexadecimal Value

1B 5B 67

l h m n

1

… n

k

Decimal Value

27 91 103

l h m n

1

… n

k

This command selects dot graphics in 8 or 24 needle configuration. h*256+l represents the
number of data + l . The m parameter represents the dot graphics modes as shown in the
following table:

m DENSITY NEEDLE

FUNCTION

0

60

8

Same as ESC K (8 needles)

1

120

8

Same as ESC L (8 needles)

2

120

8

Same as ESC Y (8 needles)

3

240

8

Same as ESC Z (8 needles)

8

60

24

Same as ESC * (32)

9

120

24

Same as ESC * (33)

11

180

24

Same as ESC * (39)

12

360

24

Same as ESC * (40)

The n

1

, n

2

up to n

k

parameters are dot graphics data. If you select the 8 needle dot graphics

mode, one byte data is needed for each column so that the formulas h*256+l = number of
columns + l
is valid. If you select the 24 needle dot graphics mode, three bytes data is needed for
each column so that the formulas h*256+l = number of columns *3+l is valid.

Advertising