![background image](http://html.mh-extra.com/html/hp/4600-color-laserjet-laser-printer/4600-color-laserjet-laser-printer_technical-reference-manual_163672093.webp)
Example: Setting the
Printer to a Desired
State
The following example demonstrates setting HP LaserJet 4
and 4M printers to a known state. For the specific printer
you are configuring, consider which environment features
you can modify. The modifiable environment features for
HP LaserJet 4 and 4M printers are listed below (see
Appendix A for a list of environment variables supported by
each PJL printer):
COPIES
FORMLINES
PAPER
MANUALFEED
ORIENTATION
RET
PAGEPROTECT
PERSONALITY *
RESOLUTION
TIMEOUT *
FONTSOURCE
PTSIZE
FONTNUMBER
SYMSET
PITCH
PRTPSERRS
* PERSONALITY and TIMEOUT do not affect the printed output and gener-
ally should not be used.
Of these HP LaserJet 4 and 4M features, only RET,
PAGEPROTECT, and RESOLUTION affect the printed
output and cannot be set using the printer language (in this
case, PCL). These features are set using PJL, as the following
lines show:
<ESC>%-12345X@PJL <CR><LF>
@PJL SET RET = MEDIUM <CR><LF>
@PJL SET PAGEPROTECT = OFF <CR><LF>
@PJL SET RESOLUTION = 300 <CR><LF>
@PJL ENTER LANGUAGE = PCL <CR><LF>
<ESC>E . . Use PCL to set copies, paper,
orientation, line spacing, manual feed, and
font selection— values not set using PJL
<ESC>E
~
<ESC>%-12345X@PJL <CR><LF>
@PJL RESET <CR><LF>
<ESC>%-12345X
Environment Commands 6-31
Summary of Contents for 4600 - Color LaserJet Laser Printer
Page 18: ...1 6 Introduction to PJL ...
Page 36: ...3 8 Using PJL ...
Page 46: ...4 10 Kernel Commands ...
Page 66: ...Figure 6 1 How Environments Affect the Print Job 6 4 Environment Commands ...
Page 108: ...6 46 Environment Commands ...
Page 180: ...9 18 PJL File System Commands ...
Page 212: ...10 32 Programming Tips ...
Page 262: ...B 6 PJL Command Summary ...
Page 302: ...Glossary 10 ...