AMT Datasouth ACCEL-6300 Printer User Manual


 
User's Guide
D-18 Code Sets
Table D-3. AMT Datasouth and Diablo 630 Escape Sequences––continued
Function ASCII Hexadecimal Decimal Description
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 and relative 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
and n1 would be 52 (180 = (128 x 1) + 52).
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 a "1", the dot prints; if the bit is a "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 Datasouth Technical Notes––Graphics,
available separately from AMT Datasouth.
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).
User's Guide
D-18 Code Sets
Table D-3. AMT Datasouth and Diablo 630 Escape Sequences––continued
Function ASCII Hexadecimal Decimal Description
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 and relative 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
and n1 would be 52 (180 = (128 x 1) + 52).
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 a "1", the dot prints; if the bit is a "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 Datasouth Technical Notes––Graphics,
available separately from AMT Datasouth.
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).