SP91 User Manual
byte after the host have received the date (DSR signal is SPACE).
If
the host haven ’ t
ready to receive data (DSR signal is MARK), the printer wait until the host have ready
to.
If set XON/XOFF control, the printer only transmits one byte, and can not specify the
DSR signal status.
· Execute this command when the data made in the print buffer area. So, between
receiving this command and transmitting status, may be one time spacing, it decides
by the status of receive buffer area.
· When uses GS a to enable ASB, distinguish the transmitting status by GS r and ASB
status by appendix C.
· Transmitting status type as follows:
Roll paper sensor status (n = 1, 49)
Bit Off/On Hex Decimal ASB Status
0 , 1 Off 00 0 Roll paper near-end sensor: enough.
On 03 3 Roll paper near-end sensor: end.
2 , 3 Off 00 0 Roll paper end sensor: enough.
On ( 0C ) ( 12 ) Roll paper end sensor: end.
4 Off 00 0 Off is fixed.
5 , 6 - - - Undefined.
7 On 00 0 Off is fixed.
Bit 2 and 3: When the roll paper end sensor detects no paper, the printer turns to offline, and don ’ t
execute this command. So, bit 2 and 3 can not transmit no paper status.
[Reference] DLE
DLE
DLE
DLE EOT
EOT
EOT
EOT , GS
GS
GS
GS a
a
a
a
GS
GS
GS
GS v
v
v
v 0
0
0
0 m
m
m
m xL
xL
xL
xL xH
xH
xH
xH yL
yL
yL
yL yH
yH
yH
yH d1
d1
d1
d1 ...
...
...
... dk
dk
dk
dk
[Name] Print grating 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 here 1 £ (xL + xH ´ 256) £ 128
0 £ yL £ 255
0 £ yH £ 8 here 1 £ (yL + yH ´ 256) £ 4095
0 £ d £ 255
k = (xL + xH ´ 256) ´ (yL + yH ´ 256) (k ¹ 0)
[Description] Set grating bit image as follows:
m Mode Vertical dot density
Horizontal dot
density
0, 48 Normal 203.2 dpi 203.2 dpi
1, 49 Double width 203.2 dpi 101.6 dpi
2, 50 Double height 101.6 dpi 203.2 dpi
3, 51 Four time size 101.6 dpi 101.6 dpi
(dpi: per 25.4 mm {1 inch}print dot)
· xL , xH , set bit image horizontal direction data byte (xL+xH × 256).
· yL , yH , set bit image vertical direction data byte (yL+yH × 256).