Chapter 6: Programming Information | A794 Owner’s Guide |
Real Time Status Transmission
Transmits the selected one byte printer status specified by n in Real Time according to the following parameters. This command includes two sequences: GS and DLE.
| GS Sequence | DLE Sequence |
ASCII | GS EOT n | DLE EOT n |
Hexadecimal | 1D 04 n | 10 04 n |
Decimal | 29 4 n | 16 4 n |
Value of n | GS Sequence |
|
1 = Transmit printer status
2= Transmit
3= Transmit error status
4= Transmit receipt paper status
DLE Sequence
1 = Transmit printer status
2= Transmit
3= Transmit error status
4= Transmit receipt paper status
Exceptions
The command is ignored if n is out of range.
Related Information
1 = Transmit Printer Status
Bit | Status | Hex | Decimal | Function |
0 | Off | 00 | 0 | Fixed to Off. |
1 | On | 02 | 2 | Fixed to On. |
2 | Off | 00 | 0 | One or both cash drawers open. |
| On | 04 | 4 | Both cash drawers closed. |
3 | Off | 00 | 0 | Not busy at the |
| On | 08 | 8 | Printer is Busy at the |
|
|
|
| interface. |
4 | On | 10 | 16 | Fixed to On. |
5 |
|
|
| Undefined. |
6 |
|
|
| Undefined. |
7 | Off | 00 | 0 | Fixed to Off. |
104 | March 1999 |