Epic 3000
Programmer’s Guide
Programming Codes
100-14362
Rev A
Page 171
The printer always accepts IEEE 1284 reverse-channel requests but does not accept
inquire commands when off-line. It is possible to obtain status when off-line by placing
the printer in dynamic response mode before the printer goes off-line. The IEEE 1284
reverse channel responds to status changes even when the printer is off-line.
In general,
the printer should be configured for “Buffer Full Only” off-line operation if
inquire commands are used. This prevents the printer from using flow control for
anything but buffer full. The programmer must take on the responsibility for assuring that
inquire commands are used to maintain status of the printer.
Inquire Commands
[ENQ]
Inquire printer status
ASCII
[ENQ] <n>
Hexadecimal
05H <n>
Decimal
<5> <n>
IPCL
none
EPOS
[GS] r or [DLE] [ENQ] or [DLE] [EOT]
Description
The [ENQ] <n>
command inquires about the printer’s status and returns a
result.
Note:
When the printer is off-line, inquires may not be accepted.
[ENQ] <4>
Inquire receipt paper out status
ASCII
[ENQ] <4>
Hexadecimal
05H 04H
Decimal
<5> <4>
Function
Receipt paper exhausted
Response
ACK <4> (06H 04H) Receipt paper is present
NAK <4> (15H 04H) Receipt paper is exhausted
[ENQ] <8>
Inquire cover open status
ASCII
[ENQ] <8>
Hexadecimal
05H 08H
Decimal
<5> <8>
Function
Cover open/closed status
Response
ACK <8> (06H 08H) The cover is closed
NAK <8> (15H 08H) The cover is open
[ENQ] <9>
Is the buffer empty?
ASCII
[ENQ] <9>
Hexadecimal
05H 09H
Decimal
<5> <9>
Function
The [ENQ] <9> command allows the host to know when the print buffer is
empty. If IEEE 1284 is active, the command also clears the response buffer.