HP Color LaserJet 5500 Technical Reference Manual page 188

Printer job language - technical reference manual
Hide thumbs Also See for Color LaserJet 5500:
Table of Contents

Advertisement

(Changing the Default Values)
<ESC>%-12345X@PJL <CR><LF>
@PJL COMMENT Set desired values <CR><LF>
@PJL DEFAULT RET = DARK <CR><LF>
@PJL DEFAULT RESOLUTION = 600 <CR><LF>
@PJL COMMENT Reset PJL to ensure default
~values take effect <CR><LF>
@PJL RESET <CR><LF>
<ESC>%-12345X
Jobs That Request Information, Set Features and Print
Existing Files
The following example requests information using the
INQUIRE command, sets printer features using the SET
command, and then sends an existing application print file
to the printer. To restore the default values, the RESET
command is issued before the job closes.
<ESC>%-12345X@PJL <CR><LF>
@PJL COMMENT Requesting features <CR><LF>
@PJL ECHO Job #53 11-17-92 08:52:03.7 <CR><LF>
[ . . application discards any printer status
readback information received before the ECHO
response . . ]
@PJL INQUIRE RET <CR><LF>
@PJL INQUIRE PAGEPROTECT <CR><LF>
@PJL INQUIRE RESOLUTION <CR><LF>
<ESC>%-12345X
[ . . application receives status readback
from the INQUIRE commands showing that RET =
OFF, PAGEPROTECT = LETTER, and RESOLUTION =
300, which are not the desired settings. The
application then sends SET commands to modify
the settings to the desired value . . ]
<ESC>%-12345X@PJL <CR><LF>
@PJL COMMENT Set desired values <CR><LF>
@PJL SET RET = MEDIUM <CR><LF>
@PJL SET PAGEPROTECT = OFF <CR><LF>
10-8 Programming Tips

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents