User's Guide
D-20 Code SetsTable D-3. AMT and Diablo 630 Escape Sequences––continued
Function ASCII Hexadecimal Decimal Description
Graphic Functions––continued
Print 16-wire graphics These sequences print 16-wire graphics, wherein normal
120V x 120H dpi ........... ESC @ m 1B 40 6D 27 64 109 character codes no longer print characters, but instead print
n1 n2 list n1 n2 list n1 n2 list 16-dot-high columns of dots on the current print line. This
sequence does not change the current line spacing.
120V x 240H dpi ........... ESC @ n 1B 40 6E 27 64 110
n1 n2 list n1 n2 list n1 n2 list Variables n1 and n2 define the number of columns to print.
This number is one-half the number of bytes in the list.
The printer interprets n1 and n2 as follows:
Number of columns = (128 x n2) + n1
For example, to print 360 columns of dots, n2 would be 2
and n1 would be 104 (360 = (128 x 2) + 104).
The list in the sequence is a series of codes that define the
columns to print. The first two codes define the first col-
umn, the second two codes define 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. The most
signi-ficant bit of the second code controls the ninth dot
from the top, the next bit controls the tenth 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 FF hex prints all 16
dots in the column, 00 00 hex prints no dots, 00 FF hex
prints the lower eight dots, and FF 00 hex prints the
upper eight dots.
Note: For more detailed information on these escape
sequences, refer to AMT Technical Notes––Graphics,
available separately from AMT.
Printhead microshift up.... ESC @ B 1B 40 42 27 64 66 This sequence moves the printhead up 0.0042 inch, which
enables the printing of two-pass graphics with up to 240
dots per vertical inch. When graphics end, the printhead
moves back down automatically.
Note: For more detailed information on this escape se-
quence, refer to AMT Technical Notes––Graphics,
available separately from AMT.
16-inch wide graphics These sequences enable and disable 16-inch wide graphics,
Enable ............................ ESC @ w 1B 40 77 27 64 119 wherein graphics start printing 1.2 inches to the left of the
Disable........................... ESC @ s 1B 40 73 27 64 115 current print position and may extend up to 1.2 inches
beyond the normal rightmost print position. Text
printing is unaffected by this escape sequence. To print
full 16- inch wide graphics, make sure the current
horizontal print position is 0.
User's Guide
D-20 Code SetsTable D-3. AMT and Diablo 630 Escape Sequences––continued
Function ASCII Hexadecimal Decimal Description
Graphic Functions––continued
Print 16-wire graphics These sequences print 16-wire graphics, wherein normal
120V x 120H dpi ........... ESC @ m 1B 40 6D 27 64 109 character codes no longer print characters, but instead print
n1 n2 list n1 n2 list n1 n2 list 16-dot-high columns of dots on the current print line. This
sequence does not change the current line spacing.
120V x 240H dpi ........... ESC @ n 1B 40 6E 27 64 110
n1 n2 list n1 n2 list n1 n2 list Variables n1 and n2 define the number of columns to print.
This number is one-half the number of bytes in the list.
The printer interprets n1 and n2 as follows:
Number of columns = (128 x n2) + n1
For example, to print 360 columns of dots, n2 would be 2
and n1 would be 104 (360 = (128 x 2) + 104).
The list in the sequence is a series of codes that define the
columns to print. The first two codes define the first col-
umn, the second two codes define 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. The most
signi-ficant bit of the second code controls the ninth dot
from the top, the next bit controls the tenth 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 FF hex prints all 16
dots in the column, 00 00 hex prints no dots, 00 FF hex
prints the lower eight dots, and FF 00 hex prints the
upper eight dots.
Note: For more detailed information on these escape
sequences, refer to AMT Technical Notes––Graphics,
available separately from AMT.
Printhead microshift up.... ESC @ B 1B 40 42 27 64 66 This sequence moves the printhead up 0.0042 inch, which
enables the printing of two-pass graphics with up to 240
dots per vertical inch. When graphics end, the printhead
moves back down automatically.
Note: For more detailed information on this escape se-
quence, refer to AMT Technical Notes––Graphics,
available separately from AMT.
16-inch wide graphics These sequences enable and disable 16-inch wide graphics,
Enable ............................ ESC @ w 1B 40 77 27 64 119 wherein graphics start printing 1.2 inches to the left of the
Disable........................... ESC @ s 1B 40 73 27 64 115 current print position and may extend up to 1.2 inches
beyond the normal rightmost print position. Text
printing is unaffected by this escape sequence. To print
full 16- inch wide graphics, make sure the current
horizontal print position is 0.