HP PCL/PJL reference - Printer Job Language Technical Reference Manual
EN Environment Commands 6-5
Changing Environment Settings
The following scenario elaborates on how the print environment 
changes during printer operation. The “number of copies” feature is 
used to show feature changes as events occur. 
1 The first time the printer is turned on after it leaves the factory (or 
after the INITIALIZE command), the number of copies feature is 
set to the factory default value of 1 copy. 
2 At any point following the initial power-on or the INITIALIZE 
command, the number of copies feature can be set using the 
DEFAULT COPIES command in a PJL job or by changing the 
COPIES = setting on the control panel. This changes the User 
Default Environment setting to a new value, such as number of 
copies = 3. The User Default Environment values are not loaded 
into the PJL Current Environment until the next PJL reset 
condition occurs. (For printers with control panels, if the printer is 
currently not processing a job while the feature is changed from 
the control panel, the printer treats the feature change as a PJL 
reset condition and loads the newly changed value into 
non-volatile RAM.) 
3 If the PJL job uses the SET COPIES = 5 command to change the 
number of copies, the PJL Current Environment value changes to 
the selected setting (for example, 5). Otherwise, the number of 
copies setting remains the same as set using the DEFAULT 
command or the control panel (in this example, 3). 
4 If the printer language (such as PCL or PostScript) changes the 
number of copies setting to another value, such as 8, the newly 
specified printer language value overrides the PJL Current 
Environment value. If the printer has a control panel, however, it 
still displays the User Default Environment value set using the 
control panel keys or the DEFAULT command (3).
5 The next PJL reset condition defaults the number of copies 
setting to the value set from the control panel or by using the 
DEFAULT command (User Default Environment). In this example, 
the number of copies feature setting then defaults to 3 after a PJL 
reset condition.
All other features operate similarly—if any feature is not modified by a 
higher priority action, it keeps its current value setting. 










