Programmer's Guide
Inquire Commands
Function
ASCII
Hexadecimal
Decimal
IPCL
EPOS
Description
Function
ASCII
Hexadecimal
Decimal
Function
Response
Function
ASCII
Hexadecimal
Decimal
Function
Response
PcOS Series 80PLUS
Inquire printer status
[ENQ] <n>
05H <n>
<5><n>
none
[GS] r or [DLE] [ENQ] or [DLE] [EOT]
This command inquires printer status and returns the result. The following
ENQ's are defined.
NOTE: If the printer is off-line, ENQ's may not be accepted.
Inquire Cash Drawer 1 status
[ENQ] <1>
05H 01H
<5><1>
Cash Drawer 1 status
ACK <1> (06H 01H)
Cash Drawer 1 is closed.
NAK <1> (15H 01H)
Cash Drawer 1 is open.
The cash drawer status is defined as open circuit being drawer closed.
Inquire Cash Drawer 2 status
[ENQ] <2>
05H 02H
<5><2>
Cash Drawer 2 status
ACK <2> (06H 02H)
Cash Drawer 2 is closed.
NAK <2> (15H 02H)
Cash Drawer 2 is open.
The cash drawer status is defined as open circuit being drawer closed.
Rev B 4/13/99
Control Codes
Printer Status
Page 49