Graphics control functions, Esc [ p1 q, Esc p data – Compuprint 4247-L03 Programmer Manua User Manual

Page 98: Esc [ p, Select graphics mode/density (grm) (ansi), Graphics control functions esc [ p

Advertising
background image

Graphics Control Functions

ESC [ p

1

q

Select graphics mode/density (GRM).

ASCII Code

ESC [ p

1

q

Hexadecimal Value

X'1B' X'5B' p

1

X'71'

Decimal Value

27 91 p

1

113

This command selects the density of the graphics mode.

p

DPI (Horizontal)

Image

dpi vertical

#bytes/dot-column

AGM=N

AGM=Y

0

72

60

real

72

1 (6-bit mode)

1

144

120

real

72

1 (6-bit mode)

3

216

180

real

72

1 (6-bit mode)

10

180

180

real

180

4 (24-bit mode)

11

360

360

virtual

180

4 (24-bit mode)

If ASF has not been selected (n=15/16/17 or via operator panel), then n=1—4 is ignored. The appropriate
path option must be selected from the System Menu in order for the sheet feeder to work.

ESC P data

Enter dot graphics mode (Device Control String).

ASCII Code

ESC P data

Hexadecimal Value

X'1B' X'50' data

Decimal Value

27 80

This command enables the dot graphics mode. The density is selected according to the GRM command.

The line spacing value automatically changes if 72-dpi resolution (6-bit mode) is active.

The line spacing value for 180-dpi resolution (24-bit mode) must be selected prior to entering graphics
mode.

In 6-bit mode, only 6 bits of a data byte are required to determine which wires are fired. Therefore, only
one byte is required for each graphics dot column.

In 24-bit mode, 24 bits of four data bytes are required to determine which wires are fired. Only 6 bits of
each byte are used. Therefore, four bytes are required for each graphics dot column.

82

Programmer Manual

Advertising