HP PCL/PJL reference - Printer Job Language Technical Reference Manual
EN Environment Commands 6-11
PJL Environment Variables
This section lists the PJL environment variables. General PJL 
environment variables (those not printer language-specific) are listed 
first, followed by printer language-specific variables. For most 
variables except the read-only variables, value settings can be 
modified using the following commands:
• SET — sets PJL Current Environment settings that remain 
active until the next “PJL reset condition” (e.g. JOB, EOJ, 
RESET, INITIALIZE commands—see page 6-8).
• RESET — the PJL RESET command defaults the PJL Current 
Environment to the User Default Environment (feature settings 
set with the DEFAULT command or the control panel keys).
• DEFAULT — modifies the User Default settings (stored in 
NVRAM in those printers containing NVRAM).
• INITIALIZE — defaults all environments to the Factory Default 
settings.
You can request value settings for printer features using the following 
two commands:
• INQUIRE — requests the PJL Current Environment settings.
• DINQUIRE — requests the User Default (control panel) 
settings.
(The INQUIRE and DINQUIRE commands are discussed in 
Chapter 7.)
Note Whenever possible, use printer language commands to set printer 
features. Use PJL commands only when there are no printer 
language commands available for a desired feature.
When setting printer features with PJL, use the SET and RESET 
commands if you want to affect the current PJL job only. Using the 
DEFAULT and INITIALIZE commands affects the current job and 
succeeding jobs (these commands should only be used when you 
require a command that affects more than just the current job).










