SATO SG112 ex Programming Reference Manual page 412

Hide thumbs Also See for SG112 ex:
Table of Contents

Advertisement

Return Status of Status2
This product returns the printer status by receiving the status request command sent from the host.
Also, this product initializes the receive buffer and cancels the print job by receiving the cancel
request command.
Following described about the details of request commands and return status.
Status Request Command
This product returns the state of the receive data, the receive buffer and this product by receiving
this command sent from the host.
1. Command ENQ (HEX 05H)
2. Return status/format
STX
Status1 Status2 Status3
3. Status list
State of receive data
Status return
"0" (HEX 30H)
"1" (HEX 31H)
State of receive Buffer
Status return
"0" (HEX 30H)
"9" (HEX 39H)
Status of this product
Status return
"0" (HEX 30H)
"1" (HEX 31H)
"@" (HEX 40H)
"A" (HEX 41H)
"B" (HEX 42H)
"E" (HEX 45H)
"G" (HEX 47H)
"J" (HEX 4AH)
"k" (HEX 6BH)
* There is no ribbon end with the direct thermal model.
CR
LF
ETX
Printer status
Receive buffer status
Receive data status
Indicates the receive text was received normally.
Indicates the receive text was received normally (Communication error,
receive buffer overflow).
Indicates no data exist in the receive buffer.
Indicates data exist in the receive buffer.
Normal (Receivable state)
Offline or print pause
*1
Ribbon end
Paper end
(Unused) Cutter error
Head open
Head error
Card error
Other errors
411
(7 bytes)
STX (HEX 02H)
ETX (HEX 03H)
LF (HEX 0AH)
CR (HEX 0DH)
Contents
Contents
Contents

Advertisement

Table of Contents
loading

Table of Contents