Technical Updates SNBC CONFIDENCIAL
Shandong New Beiyang Information Technology Co.,Ltd.
Page 42
transmitting the status .
· The status types to be transmitted are shown below:
Paper sensor status (n = 1, 49):
Bit 0/1
Hex Decimal
Status
0
00
0
Paper roll near-end sensor: paper near end
0, 1
1
03
3
Paper roll near-end sensor: paper adequate
0
00
0
Paper roll end sensor: paper adequate
2, 3
1
0c
12
Paper roll end sensor: paper near end
4
0
00
0
Not used. Fixed to 0
5,6
Undefined
7
0
00
0
Not used. Fixed to 0
[Reference]
DLE EOT, GS a
GS v 0 m xL xH yL yH d1....dk
[Name]
Print raster bit image
[Format]
ASCII
GS
v
0 m xL xH yL yH d1...dk
Hex
1D
76
30 m xL xH yL yH d1...dk
Decimal
29
118
48 m xL xH yL yH d1...dk
[Range]
0
≤
m
≤
3, 48
≤
m
≤
51
0
≤
xL
≤
255
0
≤
xH
≤
255
0
≤
yL
≤
255
0
≤
d
≤
255
k = ( xL + xH × 256) × ( yL + yH × 256) ( k
≠
0)
[Description] Print Raster bit-image. The value of m selects it’s mode, as follows:
m
Mode
Vertical Dot Density
(DPI)
Horizontal Dot Density (DPI)
0, 48
Normal
203DPI
203DPI
1, 49
Double-width
203DPI
101DPI
2, 50
Double-height
101 DPI
203DPI
3, 51
Quadruple
101 DPI
101DPI
· xL, xH, show the number of data bytes ( xL+ xH × 256) in the horizontal direction for the
bit image.
· yL, yH, show the number of data bytes ( yL+ yH × 256) in the vertical direction for the bit
image.
[Notes]
· In standard mode, this command is effective only when there is no data in the print buffer.
· This command has no effect in all print modes (character size, emphasized,
double-strike, upside-down, underline, white/black reverse printing, etc.) for
raster bit image.
· Bit images outside the printing area is ignored.
· The
ESC a
(Select justification) setting is also effective on raster bit images.
· When this command is received during macro definition, the printer ends macro
definition, and begins performing this command. The definition of this command
should be cleared in macro definition.