Inquire Commands - Ithaca 150 Programmer's Manual

Receipt/validation/journal printers
Table of Contents

Advertisement

Control Codes
Printer Status Set/Inquire

Inquire Commands

Function
ASCII
Hexadecimal
Decimal
IPCL
EPOS
Description
Function
ASCII
Hexadecimal
Decimal
Function
Response
Function
ASCII
Hexadecimal
Decimal
Function
Response
Function
ASCII
Hexadecimal
Decimal
Function
Response
Page 62
PcOS Series 150
Inquire printer status
[ENQ] <n>
05H <n>
<5> <n>
none
[GS] r or [DLE] [ENQ] or [DLE] [EOT]
This command inquires as to the printer's status and returns the result. The
following inquires are defined.
Note: If the printer is off-line, inquires may not be accepted.
Inquire Cash Drawer 1 status
[ENQ] <1>
05H 01H
<5> <1>
Cash Drawer 1 status
Serial/Parallel, IEEE 1284
ACK <1> (06H 01H)
Cash Drawer 1 is closed.
NAK <1> (15H 01H)
Cash Drawer 1 is open.
The cash drawer status is defined as open circuit being drawer closed.
Inquire Cash Drawer 2 status
[ENQ] <2>
05H 02H
<5> <2>
Cash Drawer 2 status
Serial/Parallel, IEEE 1284
ACK <2> (06H 02H)
Cash Drawer 2 is closed.
NAK <2> (15H 02H)
Cash Drawer 2 is open.
The cash drawer status is defined as open circuit being drawer closed.
Inquire receipt-paper out
[ENQ] <4>
05H 04H
<5> <4>
Receipt-paper out
Serial/Parallel, IEEE 1284
ACK <4> (06H 04H)
There is receipt paper.
NAK <4> (15H 04H)
The receipt paper is exhausted.
Rev G
Programmer's Guide
Parallel, non-IEEE 1284
PE low
PE high
Parallel, non-IEEE 1284
PE low
PE high
Parallel, non-IEEE 1284
PE low
PE high
12/14/99

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pcos 150 series151152153154

Table of Contents