Control Codes
[ENQ] <29> | Inquire Jam/Transport Status | |
ASCII | [ENQ] <29> | |
Hexadecimal | 05H 1DH | |
Decimal | <5> <29> | |
Function | The [ENQ] <29> command reports Jam and Transport status. | |
Response | [ACK] <29> <41><n> | |
Where |
|
|
<29> | Is the echo of command | |
<n> | Status |
|
| bit 0 = Paper Jammed before the cut | |
| bit 1 = Paper Jammed after the cut. | |
| bit 2 = 0 always | |
| bit 3 = Ticket in transport | |
| bit 4 = Jam Sensor | |
| bit 5 = 1 always | |
| bit 6 = 0 always | |
| bit 7 = 0 always |
[ENQ] <30> | Inquire Sensor Status | |
ASCII | [ENQ] <30> | |
Hexadecimal | 05H 1EH | |
Decimal | <5> <30> | |
Function | The [ENQ] <30> command reports sensor status. | |
Response | [ACK] <30> <41><n> | |
Where |
|
|
<30> | Is the echo of command | |
<n> | Status |
|
| bit 0 = | Cover |
bit 1 = Paper Out. bit 2 = Top Of Form bit 3 = Transport bit 4 = Jam Sensor bit 5 = 1 always bit 6 = Feed
bit 7 = 0 always
| Page 171 |
|
|