Printer Control Codes
Printer Status Set/Inquire
Function
ASCII
Hexadecimal
Decimal
Function
Response
Page 88
PcOS Series 90PLUS
Inquire all printer status
[ENQ] <20>
05H 14H
<5> <20>
Returns all status flags
Serial/Parallel, IEEE 1284
[ACK] <20> <n> <r1> <r2>...
Where <20> is the echo of command ID
n = number of return bytes + 40 (28H) (to prevent confusion with
XON/XOFF).
<r1>:
Bit 0 = Cash Drawer 1 open
Bit 1 = Cash Drawer 2 open
Bit 2 = Receipt paper out
Bit 3 = Front slip sensor detects paper.
Bit 4 = Receipt paper error
Bit 5 = Top form sensor detects paper.
Bit 6 = 1 always
Bit 7 = 0 always
<r2>:
Bit 0 = Form clamp closed
Bit 1 = Cover closed
Bit 2 = Buffer empty
Bit 3 = Printer power has been cycled. (It does not affect the
state of the power-cycled flag. Use [ENQ] <11> to
reset).
Bit 4 = Printer in error mode
Bit 5 = Printer waiting for some type of slip operation
Bit 6 = 1 always
Bit 7 = 0 always
<r3>:
Bit 0 = Receipt station selected
Bit 1 = Top validation station selected
Bit 2 = Front slip station selected
Bit 3 = Waiting for form
Bit 4 = Undefined
Bit 5 = Printer is blocking print. (Cover is open or out of
paper).
Bit 6 = 1 always
Bit 7 = 0 always
<r4>:
Bit 0 = Printer supports receipt.
Bit 1 = Printer supports inserted forms.
Bit 2 = Undefined
Bit 3 = Printer supports cutter.
Bit 4 = Printer supports partial cuts.
Bit 5 = Printer supports MICR.
Bit 6 = 1 always
Bit 7 = 0 always
Rev Q
Programmer's Guide
Parallel, non-IEEE 1284
not supported via PE
11/07/05
Need help?
Do you have a question about the Ithaca 90PLUS Series and is the answer not in the manual?
Questions and answers