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
Содержание 4600 - Color LaserJet Laser Printer
Страница 18: ...1 6 Introduction to PJL ...
Страница 36: ...3 8 Using PJL ...
Страница 46: ...4 10 Kernel Commands ...
Страница 66: ...Figure 6 1 How Environments Affect the Print Job 6 4 Environment Commands ...
Страница 108: ...6 46 Environment Commands ...
Страница 180: ...9 18 PJL File System Commands ...
Страница 212: ...10 32 Programming Tips ...
Страница 262: ...B 6 PJL Command Summary ...
Страница 302: ...Glossary 10 ...