User guide

A795 User Guide: Programming Supplement
Chapter 4: Programming commands
64
Select bit image mode
ASCII ESC * m n1 n2 d1 ... dn
Hexadecimal 1B 2A m n1 n2 d1 ... dn
Decimal 27 42 m n1 n2 d1 ... dn
Value of m:
Value of m Mode No. of dots (vertical) No. of dots (horizontal) No. of dots/line
0 8 Dot Single Density 8 (68 DPI) 0-288 (101 DPI) 8 x 288
1 8 Dot Double Density 8 (68 DPI) 0-576 (203 DPI) 8 x 576
32 24 Dot Single Density 24 (203 DPI) 0-288 (101 DPI) 24 x 288
33 24 Dot Double Density 24 (203 DPI) 0-576 (203 DPI) 24 x 576
Value of n:
Value of n (8-dot single density mode) Value of n (24-dot single density mode) Value of d
n1 + (256 x n2) 3 x [n1 + (256 x n2)] Number of bytes of data (printed
down, then across)
Sets the print resolution and enters one line of graphics
data into the print buffer. Excess data is accepted but
ignored. Any print command is required to print the data,
after which the printer returns to normal processing mode.
See the illustration for graphic representations of the bit
image below.
Top of Bit Image
Receip
t
8-Dot Single-Density Mode
d4 d3 d2 d1 dn
dn
MSB
LSB
Top of Bit Image
24
-
D
ot S
i
ng
l
e-
D
ens
i
ty
M
o
d
e
dn
MSB
LSB
d1
d2
d3
d4 d7
d5
d6 dn