Commands 5-13
ESC ✽
m nL n H
[
d
]
k
[Name] Select bit-image mode
[Format] ASCII ESC
✽
m nL nH
[
d
]
k
Hex 1B 2A
m nL nH
[
d
]
k
Decimal 27 42
m nL nH
[
d
]
k
[Range]
m
= 0, 1, 32, 33
0
≤
nL
≤
255
0
≤
nH
≤
3
0
≤
d
≤
255
[Description] Selects a bit-image mode using
m
for the number of dots specified by
nL
and
nH
, as follows:
•The
nL
and
nH
indicate the number of dots of the bit image in the
horizontal direction. The number of dots is calculated by
nL
+
nH
✕
256.
• If the bit-image data input exceeds the number of dots to be
printed on a line, the excess data is ignored.
•
d
indicates the bit-image data. Set a corresponding bit to 1 to print
a dot or to 0 to not print a dot.
[Notes] • If the values of
m
is out of the specified range, nL and data
following are processed as normal data.
• If the width of the printing area set by
GS L
and
GS W
less than
the width required by the data sent with the
ESC
✽
command, the
following will be performed on the line in question (but the
printing cannot exceed the maximum printable area):
➀
The width of the printing area is extended to the right to
accommodate the amount of data.
➁
If step
➀
does not provide sufficient width for the data, the left
margin is reduced to accommodate the data.
For each bit of data in single-density mode, the printer prints
two dots: for each bit of data in double-density mode, the
printer prints one dot. This must be considered in calculating
the amount of data that can be printed in one line.
m
Mode
Vertical Direction Horizontal Direction (*1)
Number of
Dots
Dot
Density
Dot
Density
Number of Data
(K)
0 8-dot single-density 8 60 DPI 90 DPI nL + nH
✕
256
1 8-dot double-density 8 60 DPI 180 DPI nL + nH
✕
256
32 24-dot single-density 24 180 DPI 90 DPI
(nL + nH
✕
256
)
✕
3
33 24-dot double-density 24 180 DPI 180 DPI
(nL + nH
✕
256
)
✕
3