Printer Control Codes
PcOS Series 90PLUS
Programmer's Guide
Printer Status Set/Inquire
Page 90
Rev M
12/16/99
Function
Inquire all printer status
ASCII
[ENQ] <20>
Hexadecimal
05H 14H
Decimal
<5> <20>
Function
Returns all status flags
Serial/Parallel, IEEE 1284
Parallel, non-IEEE 1284
Response
[ACK] <20> <n> <r1> <r2>…
not supported via PE
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
Summary of Contents for PcOS series 90plus
Page 1: ...P OS c SERIES 90PLUS Receipt Validation Journal Printers PROGRAMMER S GUIDE Rev M PN 100 7586 ...
Page 2: ......
Page 6: ...PcOS Series 90PLUS Programmer s Guide Page iv Rev M 12 16 99 ...
Page 139: ...Programmer s Guide PcOS Series 90PLUS Product Self Tests 12 16 99 Rev M Page 127 73 Italian ...
Page 179: ......
Page 180: ...INSERT PN 100 7307 Rev M 12 16 99 ...