![background image](http://html.mh-extra.com/html/hp/4600-color-laserjet-laser-printer/4600-color-laserjet-laser-printer_technical-reference-manual_163672187.webp)
Printer Utility
Examples
The following three examples demonstrate the kind of PJL
jobs used by Printer Utilities:
Jobs that request information and perform printer setup
Jobs that request information, set features, and print
existing files
Jobs that monitor printing status
Jobs that Request Information and Perform Print Setup
The following example demonstrates a job setup utility that
first asks for printer information, then sets default features
to a desired state. This application functions like a remote
control panel. This type of utility enables users to select
PJL features before printing from another application that
cannot select PJL features. In this example, the DEFAULT
command is used instead of the SET command, so that
changes apply to all future print jobs.
Note
Since this application uses the DEFAULT command, it
changes the User Default Environment and control panel
settings. In multi-user situations, it should be used only by
printer administrators to avoid unexpected results by other
users.
(Reading Status Information)
<ESC>%-12345X@PJL <CR><LF>
@PJL COMMENT Requesting features <CR><LF>
@PJL ECHO 15:18:25.3 07-25-92 <CR><LF>
[
. . application discards any printer status
readback information received before the ECHO
response . .]
@PJL DINQUIRE RET <CR><LF>
@PJL DINQUIRE RESOLUTION <CR><LF>
[
. . application receives status readback
from the DINQUIRE commands showing that RET =
OFF and RESOLUTION = 300. . . .]
<ESC>%-12345X
Programming Tips 10-7
Содержание 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 ...