![SATO SG112 ex Programming Reference Manual Download Page 416](http://html1.mh-extra.com/html/sato/sg112-ex/sg112-ex_programming-reference-manual_1201523416.webp)
415
Return Status of Status4
The purpose of this communication protocol is to return this product condition and reply as a status
to the host by receiving five types of request commands and print command.
Following described about the details of request commands and return status.
Status Request Command
This command returns the Job ID number of received data in printing, status of this product and the
number of remaining label to Process print to , the host. All "0" (HEX 30H) is returned for print quality
when the print is completed or when there is no received data. Space (HEX 20H) is returned for the
Job ID numbers when command for the designation of the job ID number <ID> is not specified.
Please do not send ENQ (Status request) while sending print data (STX <A> to <Z> ETX). Status
would not be returned properly or print would not be performed properly if ENQ is sent.
1. Command ENQ (HEX 05H)
2. Return status, Format
The specified JOB ID will be set
by the JOB ID specify command.
The JOB name will be set
by the JOB name specify command.
000000 to 999999
Number of
sent bytes
4 bytes
0000001BH
ENQ
1 byte
05H
LAN
32 bytes
Interfaces
other than above
27 bytes
STX
1 byte
02H
ID number
2 bytes
Status
1 byte
Remaining
print number
6 bytes
JOB name
16 bytes
ETX
1 byte
03H
STX
1 byte
02H
ID number
2 bytes
Status
1 byte
Remaining
print number
6 bytes
JOB name
16 bytes
ETX
1 byte
03H
3. Return status list
Contents
ASCII
HEX
NO ERROR
0
30
RIBBON NEAR END
1
31
BUFFER NEAR FULL
2
32
RIBBON NEAR END
&
BUFFER NEAR FULL
3
33
OFFLINE
STATE
PRINT HALT (NO ERROR)
4
34
NO ERROR
A
41
RIBBON NEAR END
B
42
BUFFER NEAR FULL
C
43
RIBBON NEAR END
&
BUFFER NEAR FULL
D
44
WAIT TO
RECEIVE
PRINT HALT (NO ERROR)
E
45
NO ERROR
G
47
RIBBON NEAR END
H
48
BUFFER NEAR FULL
I
49
RIBBON NEAR END
&
BUFFER NEAR FULL
J
4A
PRINTING
PRINT HALT (NO ERROR)
K
4B
NO ERROR
M
4D
RIBBON NEAR END
N
4E
BUFFER NEAR FULL
O
4F
ONLINE STATE
STANDBY
(Waiting for
dispenser/
cutter)
RIBBON NEAR END
&
BUFFER NEAR FULL
P
50
Summary of Contents for SG112 ex
Page 1: ...For printer model Programming Reference...
Page 10: ...9 Basic Specifications 513 Connector pin assignment 514...
Page 221: ...220 MaxiCode can specify from 01H to FFH...
Page 236: ...235 QR Code Kanji mode Code table...
Page 237: ...236...
Page 238: ...237...
Page 239: ...238...
Page 240: ...239...
Page 241: ...240...
Page 242: ...241...
Page 243: ...242...
Page 244: ...243...
Page 245: ...244...
Page 246: ...245...
Page 247: ...246...
Page 248: ...247...
Page 249: ...248...
Page 250: ...249...
Page 251: ...250...
Page 252: ...251...
Page 253: ...252...
Page 254: ...253...
Page 255: ...254...
Page 268: ...267 QR Code Kanji mode Code table...
Page 269: ...268...
Page 270: ...269...
Page 271: ...270...
Page 272: ...271...
Page 273: ...272...
Page 274: ...273...
Page 275: ...274...
Page 276: ...275...
Page 277: ...276...
Page 278: ...277...
Page 279: ...278...
Page 280: ...279...
Page 281: ...280...
Page 282: ...281...
Page 283: ...282...
Page 284: ...283...
Page 285: ...284...
Page 286: ...285...
Page 287: ...286...
Page 480: ...479 Near Full Release Near Full 0 MB 2 95 MB Remaining 0 95 MB Remaining 1 95 MB...
Page 491: ...490 Connector Pin Assignment Pin No Name 1 VBus 2 Data D 3 Data D 4 GND...
Page 515: ...514 Connector pin assignment Pin no Name 1 VBus 2 Data D 3 Data D 4 GND...