Specifications
Programmers Guide TH230/TH230+
86
GS ENQ
Function:
Real time printer status transmission
Code ASCII: GS ENQ
Code HEX: 0x1D 0x05
Description:
Transmits one byte status of the printer in real time.
Status Byte
Bit Function 0 Signifies 1 Signifies
0 Paper Present Low (only if paper low
sensor is enabled)
1 Paper Present Low (only if paper low
sensor is enabled)
2
Cover
Closed
Open
3 Busy Not Busy Busy
4 Drawer kick-out
connector pin 3
Low High
5 Not used Fixed to 0
6 Error No error Error occurred
7 Not used Fixed to 1
Bit 3: Busy is set when the printer enters the Offline State (see chapter
Online / Offline State Diagram) or if the receive buffer is nearly full.
Bit 6: Error means Cover open, Paper out, Black mark error, Cutter error,
Thermistor error, High voltage error or Low voltage error. Thermistor error
is an unrecoverable error. High voltage error and Low voltage error are
automatic recoverable errors!
Notes:
• When transmitting block data (Header ~ NUL), the status will be sent
after that.
• This command can be disabled by US z (page 195).
• The printer executes this command even when it is in offline or error
status.
• If the receive buffer is full the execution depends from Memory Switch
2-8 (Listen to Real-Time-Commands - see command GS ( E).
- If Memory Switch 2-8 is set to off (48): command is executed.
- If Memory Switch 2-8 is set to on (49): command is not executed.