Control Codes

IEEE 1284 Mode Inquire

In parallel IEEE 1284 mode, status information can be returned to the host through the IEEE 1284 reverse channel. After the host makes an inquire request, it activates IEEE 1284 mode 0 reverse channel and waits for a response from the printer. The response to the inquire is identical to serial mode in format.

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] <3>

Inquire paper low status

ASCII

[ENQ] <3>

 

Hexadecimal

05H 03H

 

Decimal

<5> <3>

 

Function

Receipt paper low

 

Response

ACK <3> (06H 03H)

paper is present.

 

NAK <3> (15H 03H)

paper is low.

100-88002 Rev B

Page 163

 

 

Page 175
Image 175
Epson 100-88002 manual Inquire Commands, Enq