Printer Control Codes
Printer Status Set/Inquire
5.15.4
Inquire Commands
Function
ASCII
Hexadecimal
Decimal
IPCL
EPOS
Description
Note
Function
ASCII
Hexadecimal
Decimal
Function
Response
Note
Function
ASCII
Hexadecimal
Decimal
Function
Response
Note
Page 82
PcOS Series 90PLUS
Inquire printer status
[ENQ] <n>
05H <n>
<5> <n>
none
[GS] r or [DLE] [ENQ] or [DLE] [EOT]
The [ENQ] <n> command inquires as to the printer's status and returns the
result. The following inquires are defined.
If the printer is off-line, the inquire may not be accepted.
Inquire Cash Drawer 1 status
[ENQ] <1>
05H 01H
<5> <1>
Cash Drawer 1 status
Serial/Parallel, IEEE 1284
ACK <1> (06H 01H)
Cash Drawer 1 is closed.
NAK <1> (15H 01H)
Cash Drawer 1 is open.
When the circuit is open, the drawer is closed.
Inquire Cash Drawer 2 status
[ENQ] <2>
05H 02H
<5> <2>
Cash Drawer 2 status
Serial/Parallel, IEEE 1284
ACK <2> (06H 02H)
Cash Drawer 2 is closed.
NAK <2> (15H 02H)
Cash Drawer 2 is open.
When the circuit is open, the drawer is closed.
Rev Q
Programmer's Guide
Parallel, non-IEEE 1284
PE low
PE high
Parallel, non-IEEE 1284
PE low
PE high
11/07/05