User's Guide
D-44 Code SetsTable D-6. Epson and IBM Escape Sequences––continued
Function ASCII Hexadecimal Decimal Description
Graphic Functions
Print Epson JX.................. ESC * m1B 2A m27 42 mThis sequence prints bit-image graphics, wherein
graphics n1 n2 list n1 n2 list n1 n2 list character codes no longer print characters, but instead print
8-dot-high columns of dots on the current print line.
Depending on the mode, the columns are spaced from 1/
60 to 1/240 inch apart. This sequence does not change
the current line spacing. Variable m in the sequence
determines which graphics mode the printer uses:
Variable m
Mode Resolution ASCII Hex Dec
Single 72V x 60H dpi NUL 00 0
Double 72V x 120H dpi SOH 01 1
HS double 72V x 120H dpi STX 02 2
Quadruple 72V x 240H dpi ETX 03 3
Epson QX-1072V x 80H dpi EOT 04 4
One-to-one 72V x 72H dpi ENQ 05 5
Other CRTs 72V x 90H dpi ACK 06 6
In the HS double and quadruple modes, consecutive hori-
xontal dots are not permitted. If the sequence specifies
consecutive horizontal dots, the printer does not print the
second dot.
Variables n1 and n2 define the number of columns to
print. This number equals the number of bytes in the list.
The printer interprets n1 and n2 as follows:
Number of columns = (256 x n2) + n1
For example, to print 300 columns, n2 would be 1 and n1
would be 44 (300 = (256 x 1) + 44).
The list in the sequence is a series of codes that define the
columns to print. The first code defines the first column,
the second code defines the second column, and so on.
Each bit in a code controls a specific dot in the column.
The most significant bit controls the top dot, the next bit
controls the second dot, and so on. If the bit is "1", the
dot prints; if the bit is "0", the dot does not print. For
example, FF hex prints all eight dots in the column, 00 hex
prints no dots, 0F hex prints the lower four dots, and F0
hex prints the upper four dots.
Print Epson LQ-2550........ ESC * m1B 2A m27 42 mThis sequence prints bit-image graphics, wherein
graphics n1 n2 list n1 n2 list n1 n2 list character codes no longer print characters, but instead print
8-dot-high or 24-dot-high columns of dots on the current
print line. Depending on the mode, the columns are
spaced from 1/60 to 1/360 inch apart and dots within each
column are spaced either 1/72 inch apart or 1/180 inch
apart. This sequence does not change the current line
spacing. Variable m in the sequence determines which
graphics mode the printer uses (shown on the next page).
User's Guide
D-44 Code SetsTable D-6. Epson and IBM Escape Sequences––continued
Function ASCII Hexadecimal Decimal Description
Graphic Functions
Print Epson JX.................. ESC * m1B 2A m27 42 mThis sequence prints bit-image graphics, wherein
graphics n1 n2 list n1 n2 list n1 n2 list character codes no longer print characters, but instead print
8-dot-high columns of dots on the current print line.
Depending on the mode, the columns are spaced from 1/
60 to 1/240 inch apart. This sequence does not change
the current line spacing. Variable m in the sequence
determines which graphics mode the printer uses:
Variable m
Mode Resolution ASCII Hex Dec
Single 72V x 60H dpi NUL 00 0
Double 72V x 120H dpi SOH 01 1
HS double 72V x 120H dpi STX 02 2
Quadruple 72V x 240H dpi ETX 03 3
Epson QX-1072V x 80H dpi EOT 04 4
One-to-one 72V x 72H dpi ENQ 05 5
Other CRTs 72V x 90H dpi ACK 06 6
In the HS double and quadruple modes, consecutive hori-
xontal dots are not permitted. If the sequence specifies
consecutive horizontal dots, the printer does not print the
second dot.
Variables n1 and n2 define the number of columns to
print. This number equals the number of bytes in the list.
The printer interprets n1 and n2 as follows:
Number of columns = (256 x n2) + n1
For example, to print 300 columns, n2 would be 1 and n1
would be 44 (300 = (256 x 1) + 44).
The list in the sequence is a series of codes that define the
columns to print. The first code defines the first column,
the second code defines the second column, and so on.
Each bit in a code controls a specific dot in the column.
The most significant bit controls the top dot, the next bit
controls the second dot, and so on. If the bit is "1", the
dot prints; if the bit is "0", the dot does not print. For
example, FF hex prints all eight dots in the column, 00 hex
prints no dots, 0F hex prints the lower four dots, and F0
hex prints the upper four dots.
Print Epson LQ-2550........ ESC * m1B 2A m27 42 mThis sequence prints bit-image graphics, wherein
graphics n1 n2 list n1 n2 list n1 n2 list character codes no longer print characters, but instead print
8-dot-high or 24-dot-high columns of dots on the current
print line. Depending on the mode, the columns are
spaced from 1/60 to 1/360 inch apart and dots within each
column are spaced either 1/72 inch apart or 1/180 inch
apart. This sequence does not change the current line
spacing. Variable m in the sequence determines which
graphics mode the printer uses (shown on the next page).