Retrieve Job Status
Retrieves the job status of the printer. This command is useful to mark the start and
end of a print job.
An application can send:
this command before starting a report to make sure that there are no pending error
l
conditions.
the
l
find out if there are any problems with the printer.
Command
ESC{QST:JB:F1,F2}
where:
F1 is a four digit job number between 0001 and 9999 (an ASCII string).
F2 turns the
Example
ESC{QST:JB:F1,F2}
Reply:
{QST:JB:JN:xxxx;CJ:x;CN:xx;TC:xxxx}
where:
Command
Setting
JN
xxxx
CJ
x
CN
xx
TC
xxxx
Retrieve Printer Status
Retrieves the status of the printer.
66
Allow Message From Printer
Allow Message From Printer
Description
The four digit job number that corresponds to F1 in the retrieve command.
The current job status:
0 (zero): Complete
1: Still printing
2: Timeout
3: Canceled
4: Out of paper
5: Lid open
The number of canceled jobs since the last time this command was sent.
Sending this command returns the number of canceled jobs to zero.
The total number of canceled jobs over the life of the printer.
command to turn on unsolicited messages and
command on (Y) or off (N).
EZ-Print Command Reference