
Control Codes | PcOS Series 150 | Programmer's Guide |
Printer Status Set/Inquire
Inquire Commands
Function | Inquire printer status |
|
ASCII | [ENQ] <n> |
|
Hexadecimal | 05H <n> |
|
Decimal | <5> <n> |
|
IPCL | none |
|
EPOS | [GS] r or [DLE] [ENQ] or [DLE] [EOT] | |
Description | This command inquires as to the printer’s status and returns the result. The | |
| following inquires are defined. |
|
| Note: If the printer is | |
Function | Inquire Cash Drawer 1 status |
|
ASCII | [ENQ] <1> |
|
Hexadecimal | 05H 01H |
|
Decimal | <5> <1> |
|
Function | Cash Drawer 1 status |
|
| Serial/Parallel, IEEE 1284 | Parallel, |
Response | ACK <1> (06H 01H) | PE low |
| Cash Drawer 1 is closed. |
|
| NAK <1> (15H 01H) | PE high |
| Cash Drawer 1 is open. |
|
| The cash drawer status is defined as open circuit being drawer closed. | |
Function | Inquire Cash Drawer 2 status |
|
ASCII | [ENQ] <2> |
|
Hexadecimal | 05H 02H |
|
Decimal | <5> <2> |
|
Function | Cash Drawer 2 status |
|
| Serial/Parallel, IEEE 1284 | Parallel, |
Response | ACK <2> (06H 02H) | PE low |
| Cash Drawer 2 is closed. |
|
| NAK <2> (15H 02H) | PE high |
| Cash Drawer 2 is open. |
|
| The cash drawer status is defined as open circuit being drawer closed. | |
Function | Inquire |
|
ASCII | [ENQ] <4> |
|
Hexadecimal | 05H 04H |
|
Decimal | <5> <4> |
|
Function |
| |
| Serial/Parallel, IEEE 1284 | Parallel, |
Response | ACK <4> (06H 04H) | PE low |
| There is receipt paper. |
|
| NAK <4> (15H 04H) | PE high |
| The receipt paper is exhausted. |
|
Page 62 | Rev G | 12/14/99 |