Control Codes

[ENQ] <22>

Inquire error status

ASCII

[ENQ] <22>

Hexadecimal

05H 16H

Decimal

<5> <22>

Function

The [ENQ] <22> command reports on the error status.

Response

[ACK] <22> <n> <r>

Where:

<22> is the echo of the command ID.

<n> is the number of return bytes + 40 (28H) (to prevent confusion with XON/XOFF).

<r1>: Bit status as follows: bit 0 = Cover is open. bit 1 = Paper is Low bit 2 = Paper is out. bit 3 = 0

bit 4 = Jam Detected.

bit 5 = The Auto-Cutter has faulted. bit 6 = 1 always

bit 7 = An serious error has occurred.

Note 1: If bit 7 is set, a serious error has occurred. The printer is not able to recover from this type of error without operator intervention. If bit 7 is set without bit 5 (Auto-cutter fault) then the print carriage has faulted, which is probably caused by a paper jam or a component failure. The host system may issue an [ENQ]<10> (Reset Request command) to attempt to recover. The Reset Request will reset the printer to an initial power up state. All data will be lost.

Note 2: When a serious error occurs (bit 7 set) the printer enters a static state. Status responses will reflect the state of the printer when the error occurred.

Note 3: For this status request to function during a serious error, the "Buffer Full Only" off line option should be selected.

100-88002 Rev B

Page 169

 

 

Page 181
Image 181
Epson 100-88002 manual ACK 22 n r