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