10/10/03
CHAPTER 5 PJL - 50
Parameters
Variable Value
Description
DEVICE ON Makes unsolicited device status valid for any status
change
VERBOSE Makes unsolicited device status valid for any of PJL
parser warning, error and status change
OFF Makes unsolicited device status invalid for any
status change
JOB ON Makes unsolicited job status (reporting job start/job
end) valid
OFF Makes unsolicited job status invalid
PAGE ON Makes unsolicited page status (reporting respective
page printed and ejected) valid
OFF Makes unsolicited page status invalid
TIMED 5 to 300 Makes timed unsolicited status (allowing the printer
to send back unsolicited status after an interval
specified in seconds) valid
0 Turns TIMED USTATUS off (Makes timed
unsolicited status invalid)
Example
The application sends the following command to the printer :
<ESC>%-12345X@PJL <CR><LF>
@PJL COMMENT the INFO USTATUS command <CR><LF>
@PJL ECHO This is a sample 2-28-1993 21:15:00 <CR><LF>
@PJL INFO USTATUS <CR><LF>
<ESC>%-12345X
The printer may send back the following answer for the above command :
@PJL ECHO This is a sample 2-28-1993 21:15:00 <CR><LF>
<FF>
@PJL INFO STATUS<CR><LF>
DEVICE=VERBOSE [3 ENUMERATED]<CR><LF>
OFF<CR><LF>
ON<CR><LF>
VERBOSE<CR><LF>
JOB=ON [2 ENUMERATED]<CR><LF>
OFF<CR><LF>
ON<CR><LF>
PAGE=ON [2 ENUMERATED]<CR><LF>
OFF<CR><LF>
ON<CR><LF>
TIMED=0 [2 RANGE]<CR><LF>
5<CR><LF>
300<CR><LF>
<FF>
7.6. USTATUS Command
Sending the USTATUS command makes unsolicited printer status (sending the printer status information to
the host computer automatically without being requested for it) valid or invalid. If the unsolicited status is
set to ON with the
USTATUS
command, the printer sends unsolicited status information to the host
computer at the time interval set by USTATUS TIMED command from when the status changes. On the
other hand, the DINQUIRE, INQUIRE and INFO commands make the printer send a response only once,
just after they are received.