User`s manual

Confidential
RS-T80 Programming Manual
- 115 -
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
4 1 10 16 Not used. Fixed to 1
5,6 Undefined
7 0 00 00 Not used. Fixed to 0.
n = 2: Off-line 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 Cover is closed.
1 04 4 Cover is open
3
0 00 0 FEED button is not been pushed
1 08 8 FEED button is been pushed
4 1 10 16 Not used. Fixed to 1
5
0 00 0 Paper is not end
1 20 32 Paper is end