Control Codes
[ENQ] <4> | Inquire receipt paper out status | ||
ASCII | [ENQ] <4> |
| |
Hexadecimal | 05H 04H |
| |
Decimal | <5> <4> |
| |
Function | Receipt paper exhausted | ||
Response | ACK <4> (06H 04H) Receipt paper is present | ||
| NAK <4> (15H 04H) Receipt paper is exhausted | ||
|
| ||
[ENQ] <8> | Inquire cover open status | ||
ASCII | [ENQ] <8> |
| |
Hexadecimal | 05H 08H |
| |
Decimal | <5> <8> |
| |
Function | Cover open/closed status | ||
Response | ACK <8> (06H 08H) | The cover is closed | |
| NAK <8> (15H 08H) | The cover is open | |
|
|
| |
[ENQ] <9> | Is the buffer empty? |
| |
ASCII | [ENQ] <9> |
| |
Hexadecimal | 05H 09H |
| |
Decimal | <5> <9> |
|
Function The [ENQ] <9> command allows the host to know when the print buffer is empty. If IEEE 1284 is active, the command also clears the response buffer.
Response ACK <9> (06H 09H) The buffer is empty. NAK <9> (15H 09H) The buffer is not empty.
[ENQ] <10> |
| Request printer reset | |
ASCII | [ENQ] <10> |
| |
Hexadecimal | 05H 0AH |
| |
Decimal | <5> <10> |
| |
Function | Reset printer |
| |
Response | Serial |
| Parallel |
| ACK <10> (06H 0AH) | No response | |
| The command was accepted. |
| |
| NAK <10> (15H 0AH) |
| |
| The command was rejected. |
|
Description The ENQ <10>, EPOS DLE ENQ <n> commands and the INIT pin all have the same effect and are referred to as reset commands. To prevent data loss, the printer tries to finish printing the buffered data. When operator intervention with the printer is required for any reason, data loss results. The reset operation is saved until the printer goes idle.
If the printer is idle and a reset command is received or pending, the printer resets, and the buffer clears. If the host resets an operator intervention operation, any remaining buffered data is cleared.
Page 164 |
|
|
|