EasyManua.ls Logo

SATO WS412DT - Return Status in Protocol for Driver (STATUS4) Format

SATO WS412DT
72 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6
3.3.2 Return Status in Protocol for Driver (STATUS4) Format
In STATUS4 format, the printer returns the printer status and response status to the host computer by receiving
four types of request commands. When the combination of RS-232C interface and STATUS4 is used, the printer
status will be returned to the host computer by receiving the print command.
The details of each request command and return status are as follows.
1) Status request command
This command returns the job ID number of receive data that is currently printing, the printer status, the number of
remaining labels and the job name to the host computer. When the print is completed or when there is no receive
data, all 0 (HEX 30H) will be returned for the print quantity. If the JOB ID Number command is not specified, the
printer will respond with space character (HEX 20H) for the job ID number.
(1) Command ENQ(HEX 05H)
(2) Return status format
Note that return status format is different depending on the interface to be used (e.g. LAN , other interfaces).
* Important
Avoid ENQ transmission (status request) while sending the print data (STXETX).
Failure to do so may result in return status error or print error.
No. of bytes to
be sent
4 byte
0000001BH
ENQ
1 byte
05H
STX
1 byte
02H
ID No.
2 bytes
Status
1 byte
Remaining
print qty.
6 bytes
JOB
name
16 bytes
ETX
1 byte
03H
When LAN interface is in use (Return status: 32 bytes)
Specified by the Job ID
Number command
Specified by the Job Name
command
000000~999999
STX
1 byte
02H
ID No.
2 bytes
Status
1 byte
Remaining
print qty.
6 bytes
JOB
name
16 bytes
ETX
1 byte
03H
When the interface other than LAN is in use (Return status: 27 bytes)

Table of Contents

Other manuals for SATO WS412DT

Related product manuals