Technical Updates SNBC CONFIDENCIAL
Shandong New Beiyang Information Technology Co.,Ltd.
Page 12
ESC * m nL nH d1... dk
[Name]
Select bit-image mode
[Format]
ASCII
ESC * m nL nH d1...dk
Hex
1B 2A m nL nH d1...dk
Decimal
27 42 m nL nH d1...dk
[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:
Vertical Direction
Horizontal Direction
m Mode
Dots Resolution
Resolution
Number of Data (K)
0
8-dot single-density
8 67
DPI
101 DPI
nL + nH × 256
1
8-dot double-density
8
67 DPI
203 DPI
nL + nH × 256
32 24-dot single-density
24
203 DPI
101 DPI
( nL + nH × 256) × 3
33 24-dot double-density
24
203 DP
203 DPI
( nL + nH × 256) × 3
[Notes]
· If the values of m is out of the specified range, nL and data following are
processed as normal data.
· 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, each bit represent a dot. Set a corresponding bit to 1 to
print a dot or to 0 to not print a dot.
· After sending a bit image, the printer returns to normal data processing mode.
· If the printing area set by
GS L
and
GS W
is less than the printing width needed by
GS/
,
the printer shall act as below quickly (but cannot exceed Max. printing width).
1)
The printing area shall extend to the right for matching the printing bit image.
2)
If step 1) cannot provide enough width for the data, the left margin shall be reduced to
match it. For each bit of the data in single density mode (m=0.32), the printer shall print
two dots; for each bit of the data in double density mode (m=1.33), the printer shall
print one dots. In calculating the printable data for each line, you must consider it.
· After printing a bit image, the printer shall return normal data processing mode.
· This command shall not be effected by other printing modes (such as emphasized,
double-strike, underline, character size, or white/black reverse printing) except
upside-down printing mode.
· The relation of the data and the dots to be printed is as below:
When 8-dot bit image is selected: