Ithaca 150 Programmer's Manual page 76

Receipt/validation/journal printers
Table of Contents

Advertisement

Control Codes
Printer Status Set/Inquire
Function
ASCII
Hexadecimal
Decimal
Function
Response
Where
Page 66
PcOS Series 150
Inquire all printer status
[ENQ] <20>
05H 14H
<5> <20>
Returns all status flags
Serial/Parallel, IEEE1284
[ACK] <20> <n> <r1> <r2>...
<20> is the echo of the command ID.
n = number of return bytes + 40 (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 = Undefined
Bit 4 = Undefined
Bit 5 = Form sensor detects paper
Bit 6 = 1 always
Bit 7 = 0 always
<r2>:
Bit 0 = Form clamp closed
Bit 1 = Undefined
Bit 2 = Buffer empty
Bit 3 = Printer power cycled (does not affect state of power
cycled flag) Use [ENQ] <11> to reset.
Bit 4 = Printer waiting in error mode
Bit 5 = Undefined
Bit 6 = 1 always
Bit 7 = 0 always
<r3>:
Bit 0 = Receipt station selected
Bit 1 = Top validation station selected
Bit 2 = Undefined
Bit 3 = Waiting for form
Bit 4 = Undefined
Bit 5 = Printer blocking print (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
Rev G
Programmer's Guide
Parallel, non-IEEE 1284
Not supported via PE
12/14/99

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pcos 150 series151152153154

Table of Contents