SATO SG112 ex Programming Reference Manual page 504

Hide thumbs Also See for SG112 ex:
Table of Contents

Advertisement

Printer Status
1) Status Mode
There are three types of mode for status return when using LAN interface.
1. Status4/Cycle response mode (2port connection or 1 port connection)
Port1024 is used for print data port, Port1025 is used for status return, Port9100 is used for print
data port and status return.
Printer status is output at certain period (500 to 1000 ms interval). Printer Status is returned
when this product receives status request command from host.
2. Status4/ENQ response mode (2port connection or 1 port connection)
Port1024 is used for print data port, Port1025 is used for status return, Port9100 is used for print
data port and status return.
Printer Status is returned when this product receives status request command from host.
3. Status3, Status5/ENQ response mode (1 port connection)
Port1024 is used for both print data port and status return port. Port9100 is used for both print
data port and status return port.
ACK is returned when this product receives print request command from host, and Printer
Status is returned when this product receives status request command from host.
When the Status3 is used, label printing using a printer driver is unavailable.
 
Status modes are switched by changing the setting of communication protocol and timing of Printer
Status return in communication setting mode of this product. Following chart shows the relationship
between the types of status mode, setting items of communication setting mode.
Types of status mode
1 port or 2 ports connection
Cycle response mode
1 port or 2 ports connection
ENQ response mode
1 port connection
ENQ response mode
2) Data Format of Status Return
1. 2 ports connection (Status4 return)
Number of byte
to send 4 bytes
H
0000001C
Please refer to [Return status of Status4] for the description of [Status].
2. 1 port connection (Status5 return)
Setting item of communication setting mode
Communication protocol
(PROTOCOL)
STATUS4
STATUS4
STATUS3
STATUS5
ENQ
STX
ID
number
1 byte
1 byte
2 bytes
05H
02H
503
Timing of Printer Status return
(REPLY TIMING)
CYCLE
ENQ
-
Status
JOB
Remaining
name
labels
1 byte
6 bytes
ETX
1 byte
16 bytes
03H
(Total 32 bytes)

Advertisement

Table of Contents
loading

Table of Contents