User's Guide
Code Sets D-19
Table D-3. AMT and Diablo 630 Escape Sequences––continued
Function ASCII Hexadecimal Decimal Description
Sheetfeeder Functions
Perform operation ............. ESC EM n 1B 19 n 27 25 n This sequence performs specific sheetfeeder operations.
Eject current sheet .......... ESC EM R 1B 19 52 27 25 82 If a sheetfeeder is not installed, the printer ignores this
Load from front bin ........ ESC EM 1 1B 19 31 27 25 49 sequence.
Load from back bin ........ ESC EM 2 1B 19 32 27 25 50
Load envelope ................ ESC EM 3 1B 19 33 27 25 51
Load envelope (alternate) ESC EM E 1B 19 45 27 25 69
Select bin ............................ ESC @ T n 1B 40 54 n 27 64 84 n This sequence selects a sheetfeeder bin. Subsequent form
Front ............................... ESC @ T 1 1B 40 54 31 27 64 84 49 feeds cause the printer to feed sheets from this bin. If
Back ............................... ESC @ T 2 1B 40 54 32 27 64 84 50 a sheetfeeder is not installed, the printer ignores this
Envelope ........................ ESC @ T 3 1B 40 54 33 27 64 84 51 sequence.
Graphic Functions
Diablo graphics These sequences start and end Diablo graphics. Diablo
Start ................................ ESC 3 1B 33 27 51 graphics temporarily set spacing and backspacing to
End ................................. ESC 4 1B 34 27 52 1/60 inch, character spacing to 0, and line spacing to
1/48 inch. The sequence does not affect absolute moves.
A subsequent carriage return or the End Diablo Graphics
sequence ends Diablo graphics.
Print 8-wire graphics These sequences print 8-wire graphics, wherein normal
60V x 60H dpi ............... ESC @ K 1B 40 4B 27 64 75 character codes no longer print characters, but instead print
n1 n2 list n1 n2 list n1 n2 list seven- or eight-dot-high columns of dots on the current
print line. This sequence does not change the current line
60V x 120H dpi ............. ESC @ L 1B 40 4C 27 64 76 spacing.
n1 n2 list n1 n2 list n1 n2 list
Variables n1 and n2 define the number of columns to print.
120V x 120H dpi ........... ESC @ M 1B 40 4D 27 64 77 This number equals the number of bytes in the list. The
n1 n2 list n1 n2 list n1 n2 list printer interprets n1 and n2 as follows:
120V x 240H dpi ........... ESC @ N 1B 40 4E 27 64 78 Number of columns = (128 x n2) + n1
n1 n2 list n1 n2 list n1 n2 list
For example, to print 180 columns of dots, n2 would be 1
120V x 480H dpi ........... ESC @ O 1B 40 4F 27 64 79 and n1 would be 52 (180 = (128 x 1) + 52).
n1 n2 list n1 n2 list n1 n2 list
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
control the second dot, and so on. If the bit is a "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.
Note: For more detailed information on these escape
sequences, refer to AMT Technical Notes––Graphics,
available separately from AMT.
User's Guide
Code Sets D-19
Table D-3. AMT and Diablo 630 Escape Sequences––continued
Function ASCII Hexadecimal Decimal Description
Sheetfeeder Functions
Perform operation ............. ESC EM n 1B 19 n 27 25 n This sequence performs specific sheetfeeder operations.
Eject current sheet .......... ESC EM R 1B 19 52 27 25 82 If a sheetfeeder is not installed, the printer ignores this
Load from front bin ........ ESC EM 1 1B 19 31 27 25 49 sequence.
Load from back bin ........ ESC EM 2 1B 19 32 27 25 50
Load envelope ................ ESC EM 3 1B 19 33 27 25 51
Load envelope (alternate) ESC EM E 1B 19 45 27 25 69
Select bin ............................ ESC @ T n 1B 40 54 n 27 64 84 n This sequence selects a sheetfeeder bin. Subsequent form
Front ............................... ESC @ T 1 1B 40 54 31 27 64 84 49 feeds cause the printer to feed sheets from this bin. If
Back ............................... ESC @ T 2 1B 40 54 32 27 64 84 50 a sheetfeeder is not installed, the printer ignores this
Envelope ........................ ESC @ T 3 1B 40 54 33 27 64 84 51 sequence.
Graphic Functions
Diablo graphics These sequences start and end Diablo graphics. Diablo
Start ................................ ESC 3 1B 33 27 51 graphics temporarily set spacing and backspacing to
End ................................. ESC 4 1B 34 27 52 1/60 inch, character spacing to 0, and line spacing to
1/48 inch. The sequence does not affect absolute moves.
A subsequent carriage return or the End Diablo Graphics
sequence ends Diablo graphics.
Print 8-wire graphics These sequences print 8-wire graphics, wherein normal
60V x 60H dpi ............... ESC @ K 1B 40 4B 27 64 75 character codes no longer print characters, but instead print
n1 n2 list n1 n2 list n1 n2 list seven- or eight-dot-high columns of dots on the current
print line. This sequence does not change the current line
60V x 120H dpi ............. ESC @ L 1B 40 4C 27 64 76 spacing.
n1 n2 list n1 n2 list n1 n2 list
Variables n1 and n2 define the number of columns to print.
120V x 120H dpi ........... ESC @ M 1B 40 4D 27 64 77 This number equals the number of bytes in the list. The
n1 n2 list n1 n2 list n1 n2 list printer interprets n1 and n2 as follows:
120V x 240H dpi ........... ESC @ N 1B 40 4E 27 64 78 Number of columns = (128 x n2) + n1
n1 n2 list n1 n2 list n1 n2 list
For example, to print 180 columns of dots, n2 would be 1
120V x 480H dpi ........... ESC @ O 1B 40 4F 27 64 79 and n1 would be 52 (180 = (128 x 1) + 52).
n1 n2 list n1 n2 list n1 n2 list
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
control the second dot, and so on. If the bit is a "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.
Note: For more detailed information on these escape
sequences, refer to AMT Technical Notes––Graphics,
available separately from AMT.