3
3.3 Return Status
In the WS4 series, the printer returns the status corresponding to the command requested by the host computer so
that the printer status can be controlled on the host computer side.
There are two types of return status formats such as STATUS3 and Protocol for driver (STATUS4). The status is
returned immediately after receiving the request command.
3.3.1 Return Status in STATUS3 Format
In STATUS3 format, the printer returns the printer status and response status to the host computer by receiving two
types of request commands and 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 and the number
of remaining labels to print 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 <ID> 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
When there are multiple receive data, the job number of receive data that
is currently printing will be set.
* Important
Avoid ENQ transmission (status request) while sending the print data (<A>…<Z>).
Failure to do so may result in return status error or print error.