Printer status commands
ESC v Send printer status to host
Format: ASCII : ESC v
Decimal : 27 118
Hexadecimal : 1B 76
Explanation:
Send the printer current status to host, only valid for the printer with serial port
(POS58IIIIS/AS).
When printer received the command, it transfers one byte through TXD line of
the interface. Definition of said byte is shown as below.
GS a n Enable/disable ASB status sending
Format: ASCII : GS a n
Decimal : 29 97 n
Hexadecimal : 1D 61 n
Explanation:
Enable/disable auto-status back (ASB) sending, valid for serial interface type
models (POS58IIIIS/AS) only.
Auto-cutter not in home psoition
not defined
Paper out
Upper cover not yet close
not in use
not defined
Print-head overheated
not defined
1
------
1
1
0
------
1
------
flash 1 time
------
flash 4 times
flash 6 times
-----
------
flash fast & evenly
Definition of selected bytes
Value
Bit Status definition
0 1
0 Fixe to 0
1
- -
2 Enable/disable ASB sending Disable Enable
3, 4
- -
5
Enable/diable ERROR set Busy
(RTS=“MARK”)
Disable Enable
6, 7
-
Note 1:
u When ASB sending is enabled, printing will automatically send a
status byte to host ignoring whether printer is ready, or printing, or
any errors occurred, or stauts of RTS/CTS handshaking status.
u If enable error set busy, when printer detect any errors status will set
BUSY (RTS=”Mark”)
u Default n = 00H, no ASB sending, Error not set Busy.
u ESC @ doesn’t change GS a settings.
ESC u Return equipment status
Format: ASCII : ESC u n
Decimal : 27 117 n
Hexadecimal : 1B 75 n
Explanation:
Send equipment status to host, only valid to the printer with serial port
(POS58IIIIS/AS)