
follows:
Bit On/Off
Hex
Decimal Status for ASB
0
Off
00
0
Drawer kick-out connector pin 3 status
disabled.
On
01
1
Drawer kick-out connector pin 3 status
enabled.
1 -
-
-
Undefined.
2 Off
00
0
Error
status
disabled.
On 04 4 Error
status
enabled.
3
Off
00
0
Paper roll sensor status disabled.
On
08
8
Paper roll sensor status enabled.
4-7 -
-
-
Undefined.
[Default]
n = 0
36
.
GS r n
[Name]
Transmit status
[Format]
ASCII
GS
r n
Hex
1D
72
n
Decimal
29
114
n
[Range]
1
≤
n
≤
2
,
49
≤
n
≤
50
[Description] Transmits the status specified by
n
as follows:
n
Function
1
,
49
Transmits paper sensor status
2
,
50
Transmits drawer kick-out connector status
[Details]
• When DTR/DSR control is selected, the printer transmits only 1 byte after confirming
the host is ready to receive data (DSR signal is SPACE). If the host computer is not
ready to receive data (DSR signal is MARK), the printer waits until the host is ready.
• When XON/XOFF control is selected, the printer transmits only 1 byte without
confirming the condition of the DSR signal.
• This command is executed when the data in the receive buffer is developed.
Therefore, there may be a time lag between receiving this command and transmitting
the status, depending on the receive buffer status.
• When Automatic Status Back (ASB) is enabled by command
GS a
, the status
transmitted by
GS r
and the ASB status must be differentiated using the table in
Appendix G.
• The status types to be transmitted are shown below:
Paper sensor status (
n
= 1, 49):
Bit 0/1 Hex
Decimal Status
0
,
1 0
00
0
Paper roll near-end sensor: paper
adequate.
1
03
3
Paper roll near-end sensor: paper near
end.
2
,
3 0
00
0
Paper roll end sensor: paper adequate.
Содержание D45
Страница 1: ...D45 IMPRESORA DE IMPACTO ...