A SERVICE OF

logo

Programming Codes iTherm
®
280 Programmer’s Guide
Page 178 Rev C 28-07764
[ENQ] <22> Inquire Error status
ASCII [ENQ] <22>
Hexadecimal 05H 17H
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).
<r
1
>: Bit status as follows:
bit 0 = Cover is open.
bit 1 = Receipt Paper is Low
bit 2 = Receipt paper is out.
bit 3 = Ink is Low (This is set if either cartridge is low)
bit 4 = Either or Both Cartridges are removed.
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 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 ent
ers 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.