Ithaca PcOS Series 80PLUS Programmer's Manual page 63

Ithaca pcos series 80plus pos thermal printer
Table of Contents

Advertisement

Programmer's Guide
Function
ASCII
Hexadecimal
Decimal
Function
Response
Where
PcOS Series 80PLUS
Inquire all printer status
[ENQ]<20>
05H 14H
<5><20>
This command returns all status flags.
[ACK]<20><n><r1><r2>...
<20> is the echo of command ID, n is the number of return bytes + 40
(28H) (to prevent confusion with XON/XOFF).
<r1>:
Bit 0 = Cash Drawer 1 is open.
Bit 1 = Cash Drawer 2 is open.
Bit 2 = Receipt paper is out.
Bit 3 = 0
Bit 4 = Receipt paper error occurs.
Bit 5 = 0
Bit 6 = 1 always
Bit 7 = 0 always
<r2>:
Bit 0 = 1
Bit 1 = Cover is closed.
Bit 2 = Buffer is empty.
Bit 3 = Printer power has been cycled (does not affect state of
power cycled flag). Use [ENQ]<11> to reset.
Bit 4 = Printer is waiting in error mode.
Bit 5 = 0
Bit 6 = 1 always
Bit 7 = 0 always
<r3>:
Bit 0 = 1 Receipt station is selected.
Bit 1 = 0
Bit 2 = 0
Bit 3 = 0
Bit 4 = Undefined
Bit 5 = Printer is blocking print. (The cover is open or out of
paper)
Bit 6 = 1 always
Bit 7 = 0 always
<r4>:
Bit 0 = 1 Printer supports receipt.
Bit 1 = 0 Printer does not support inserted forms.
Bit 2 = Undefined
Bit 3 = Printer supports cutter.
Bit 4 = Printer supports partial cuts.
Bit 5 = 0 Printer does not support MICR.
Bit 6 = 1 always
Bit 7 = 0 always
Rev B 4/13/99
Control Codes
Printer Status
Page 53

Advertisement

Table of Contents
loading

Table of Contents