HP PCL/PJL reference - Printer Job Language Technical Reference Manual

EN PJL Status Codes D-1
D
PJL Status Codes
The status codes listed in this appendix are sent to the host in many
of the status readback responses as “CODE = xxxxx,” where each “x”
stands for a single digit 0 through 9. For example, if unsolicited status
is enabled and the toner runs low, the following message is returned:
@PJL USTATUS DEVICE
CODE=10006
DISPLAY="16 TONER LOW"
ONLINE=TRUE
If you consult the status code table, code 10006 means toner low.
Note that since the string portion of the “DISPLAY=string” is localized,
developers should use the “CODE=” value in applications.
Note For information about products newer than those included in this
book, see the Printer Job Language Technical Reference Addendum,
which includes product-specific information about newer products, as
well as commands and variables added to PJL to support these
newer products.
Status Code Groupings
PJL status codes are grouped as follows, with the first two digits
indicating a message category:
Informational Messages (10xxx)
Background Paper Mount (11xyy)
Background Paper Tray Status (12xyy)
Output Bin Status (15xxy)
PJL Parser Errors (20xxx)
PJL Parser Warnings (25xxx)
PJL Semantic Errors (27xxx)
Auto-Continuable Conditions (30xxx)