Ustatus Command - Brother HL-Series Technical Reference Manual

Hide thumbs Also See for HL-Series:
Table of Contents

Advertisement

Revision C 16/01/96

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.
The printer status to be sent to the host computer are ;
• Device status changes - printer cover open, paper jams, paper out, etc
• Job status changes - completion of the printing of a job, receiving a JOB command
• Page status changes - eject of a printed page
All the unsolicited status information (USTATUS DEVICE, JOB, PAGE and TIMED) is turned off at
once by the USTATUSOFF command. Each status can be turned off individually by the corresponding
USTATUS command.
The USTATUS TIMED command specifies after which time period the printer sends the unsolicited
status information, and it is turned off by setting the time increment to zero with this command.
To get information about the current settings or possible settings for unsolicited status, use the INFO
USTATUS command.
Syntax :
@PJL USTATUS variable = value [<CR>]<LF>
Response Syntax :
@PJL USTATUS variable <CR><LF>
returned option [printable characters or <WS>]
<CR><LF>
...
...
...
...
returned option <CR><LF>
<FF>
Parameters:
Variable
DEVICE
JOB
PAGE
TIMED
Value
Description
ON
Makes unsolicited device status valid for any status change (printer
errors)
VERBOSE
Makes unsolicited device status valid for any of PJL parser warning,
error, and status changes
OFF
Makes unsolicited device status invalid for any status change
ON
Makes unsolicited job status (reporting job start/job end) valid
OFF
Makes unsolicited job status invalid
ON
Makes unsolicited page status (reporting respective page printed and
ejected) valid
OFF
Makes unsolicited page status invalid
5 to 300
Makes timed unsolicited status (allowing the printer to send back
unsolicited status after an interval specified in seconds) valid
0
Turn TIMED USTATUS off (Makes timed unsolicited status invalid)
Chapter 3 "PJL" - 47

Advertisement

Table of Contents
loading

Table of Contents