TransAct Epic 3000 Programmer's Manual page 177

Table of Contents

Advertisement

Epic 3000 Programmer's Guide
[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>
(to prevent confusion with XON/XOFF).
<r
>: Bit status as follows:
1
bit 0 = Cover is open.
bit 1 = Receipt Paper is Low
bit 2 = Receipt paper is out.
bit 3 = Not used
bit 4 = The Printer as detected a paper jam.
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 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-14362
is the number of return bytes + 40 (28H)
Rev A
Programming Codes
Page 177

Advertisement

Table of Contents
loading

Table of Contents