HP PCL/PJL reference - Printer Job Language Technical Reference Manual
EN Environment Commands 6-17
INTRAY5SIZE Returns the size of the paper currently 
installed in the first optional input tray. 
INTRAY5SIZE is a valid variable only if 
the optional tray currently is installed. If 
it is not installed, the printer returns “?” 
instead of a tray size, indicating the 
variable is unknown.
LETTER, LEGAL, 
A4, A3, LEDGER, 
JISB4, JISB5, 
EXECUTIVE, 
CUSTOM
INTRAY6SIZE
INTRAY7SIZE
INTRAY8SIZE
Returns the paper size currently 
installed in these optional input trays. 
INTRAYxSIZE is valid only if the 
optional tray is installed. If not installed, 
the printer returns “?” instead of a tray 
size, indicating the variable is unknown.
LETTER, LEGAL, 
A4, and others 
(tray-dependent)
IOBUFFER Sets the value of the I/O buffering 
variable.
ON, OFF, AUTO
IOSIZE Sets up the size, in Kbytes, of the 
configurable I/O buffers when 
IOBUFFER=ON. The size is set in 
increments of 10 Kbytes (up to 100 
Kbytes, then in 100 Kbyte increments).
10 to maximum 
available memory
JOBATTR  Used to append a string to a list of job 
attribute strings associated with the 
current job. 
“Attribute String”
JOBID Used to enable or disable the job ID 
information returned in the status 
readback at the start and end of the job. 
Both the current and default variables 
are set when either the SET or 
DEFAULT command is used. This 
variable can be set to ON or to its 
default value of OFF.
OFF, ON
JOBIDVALUE This variable is used to change the 
current job ID number. It is used to 
facilitate reproducible test results. 
Normally job ID numbers are assigned 
sequentially by the printer. As a result, 
job IDs would vary depending on which 
job ran prior to the current job.
0 to 65535
General PJL Environment Variables (continued)
Variable Description
Sample Value 
Range










