Ref: "Ap1400ProgGuide1_2.docx"
Page 10 of 42
Document Revision: “1.2”
Document Date: “9 Apr. 2013”
Graphics Commands
ESC,"*",..
1BH,2AH,m,n1,n2,d1...dk
Dot-Addressable (Bit) Graphics
+
Several modes of Dot Addressable Graphics are possible:
In all modes dot patterns are coded as 1= dot, 0= space, patterns are arranged in dot-columns, and
the MSBit of each byte is printed at the top. The number of dot columns is given by (n1+ 256*n2).
When the third byte, m=0 or 2 (00H or 02H):
Doubled-up 8 dot graphics
[ k = n1+ 256*n2 ]
Each 8-dot vertical column is encoded as a single byte. Each dot is doubled in both axes to
0.25 mm square. Successive rows of 8-dot graphics cannot be printed contiguously in the
vertical direction unless using a 16 dot high User Font.
When the third byte, m=3 (03H):
Tripled-up 8 dot graphics
[ k = n1+ 256*n2 ]
Each 8-dot vertical column is encoded as a single byte. Each dot is tripled in both axes to
0.375 mm square. Successive rows of 8-dot graphics can be printed contiguously in the vertical
direction only in Font Mode 3 or a User Font which is 24 dots high.
When the third byte, m=4 (04H):
Quadrupled-up 8 dot graphics [ k = n1+ 256*n2 ]
Each 8-dot vertical column is encoded as a single byte. Each dot is quadrupled in both axes to
0.5 mm square. Successive rows of 8-dot graphics can be printed contiguously in the vertical
direction only in Font Modes 0, 1 or 2 or a User Font which is 32 dots high.
When the third byte, m=32 (20H):
Plain 24 dot graphics
[ k = 3 x (n1+ 256*n2)]
Each 24-dot vertical column is encoded as three successive bytes. Bytes d1, d4, d7 etc are at
the top of the 24-dot vertical columns. The printed graphic pattern is therefore represented by
the byte numbers as follows:
d1 d4 d7 ... d(k-2)
d2 d5 d8 ... d(k-1)
d3 d6 d9 ... dk
Each dot is the mechanism dot size of 0.125 mm square. Significant features should be coded
using at least 2 dots together. Successive rows of 24-dot graphics can be printed contiguously
in the vertical direction only in Font Mode 3 or a User Font which is 24 dots high.
When the third byte, m=8 (08H):
Single Dot Line graphics
[ k = n1+ 256*n2 ]
Data bytes are printed horizontally in order from left to right across the page, with the Most
Significant Bit to the left. Each byte encodes 8 horizontal dots. Each dot is the mechanism dot
size of 0.125 mm square. Successive horizontal dot rows can be printed contiguously in any
Font Mode only if no other printing occurs between them.
If the print mechanism is allowed to stop between successive contiguous graphics patterns, slight
discontinuities may occur due to mechanical hysteresis. Consider using spool mode to prevent this.