STATUS Category The INFO STATUS command returns online status
(TRUE=online, FALSE=offline), the message currently
displayed on the control panel, and a status code. In the
following example, the status code is 10001, which means
the printer is ready. (See Appendix D for a list of all printer
status codes.)
Only the “string” portion of the “DISPLAY =” status
message is localized; the same message as that displayed
on the control panel appears in whichever language is used.
Note For those printers supporting Japanese printing, when the
language is set to Japanese, strings which correspond to a
control panel message are displayed on the control panel
using the JIS X0201-76 character set.
Example: Using the
INFO STATUS
Command
This example requests status information. The printer, in
this case a HP LaserJet 4 printer, returns a status code
(10001), the message displayed on the control panel (00
READY), and the online status (ONLINE=TRUE).
<ESC>%-12345X@PJL <CR><LF>
@PJL COMMENT Using @PJL INFO STATUS <CR><LF>
@PJL ECHO 17:45:22.5 05-17-92 <CR><LF>
@PJL INFO STATUS <CR><LF>
<ESC>%-12345X
A sample HP LaserJet 4 printer response for this example
is shown here. Other PJL printers may produce a different
response.
@PJL ECHO 17:45:22.5 05-17-92<CR><LF>
<FF>
@PJL INFO STATUS<CR><LF>
CODE=10001<CR><LF>
DISPLAY="00 READY"<CR><LF>
ONLINE=TRUE<CR><LF>
<FF>
Status Readback Commands 7-25