
Chapter 3: Programming Commands80
Real time printer status transmission
ASCII GS ENQ
Hexadecimal 1D 05
Decimal 29 5
Transmitsonebytestatusoftheprinterinrealtime.
Value of byte:
Bit Status Hex Decimal Function
0 O 00 0 Paper adequate.
On 01 1 Paper low (if paper low sensor enabled).
1 O 00 0 Paper adequate.
On 02 2 Paper low (if paper low sensor enabled).
2 O 00 0 Cover closed.
On 04 4 Cover open.
3 O 00 0 Not busy at the RS-232C interface.
On 08 8 Printer is busy at the RS-232C interface.
4 O 00 0 One or both cash drawers open.
On 10 16 Both cash drawers closed.
5 O 00 0 Fixed to o.
6 O 00 0 No error condition.
On 40 64 Error condition exists in the printer.*
7 On 80 128 Fixed to on.
* Errors include cover open, paper out, cutter error, thermistor error, high or low voltage error, where
at hermistor error is unrecoverable, and a high or low voltage error automatically recover
Exceptions
UnliketheA793,thathadadedicatedconnectorandresultantdedicatedstatusreportingforeachcashdrawer,theA798II
hasasingleconnectorthatsharesdatareportingfromeithercashdrawer.Wheneithercashdrawerisopen,anopenstatus
isreportedbytheprinter.
Real time commands disabled
ASCII US z n
Hexadecimal 1F 7A n
Decimal 31 122 n
Value of n: 0 = enable
1 = disable
Thiscommandisusedtodisablerealtimecommands.Theyaredisabledpriortosendinggraphicorotherdatatothe
printerthatmaycontainembeddedrealtimecommands.
The command is a batch command and processed in the order received.
Comentários a estes Manuais