Confidential BTP-R880NP Programming Manual
- 42 -
2.5 Status command
DLE EOT n
[Function]
Real-time status transmission
[Format]
ASCII
DLE EOT n
Hex
10
04
n
Decimal
16
4
n
[Range]
1
≤
n
≤
4
n = 1: Transmit printer status
n = 2: Transmit off-line status
n = 3: Transmit error status
n = 4: Transmit paper roll sensor status
[Description]
Transmits the selected printer status specified by n in real-time.
[Notes]
·Even though the printer is not selected using
ESC =
(select peripheral device), this
command is effective.
·The printer transmits the current status. Each status is represented by one-byte data.
·The printer transmits the status without confirming whether the host computer can
receive data.
·The printer executes this command upon receiving it.
·This command is effective to serial, bi-direction parallel and USB printer. This command
is executed in any status.
n = 1: Printer status
Bit
0/1
Hex
Decimal
Function
0
0
00
0
Not used. Fixed to 0
1
1
02
2
Not used. Fixed to 1
2
0
00
0
1 or 2 drawer is open
1
04
4
2 drawers are closed
3
0 00
0
On-line.
1 08
8
Off-line