HP 2200dn HP PCL/PJL reference - Printer Job Language Technical Reference Manu - Page 201
Printer Utility Examples, Jobs that Request Information and Perform, Print Setup
View all HP 2200dn manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 201 highlights
Note 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. 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) %-12345X@PJL @PJL COMMENT Requesting features @PJL ECHO 15:18:25.3 07-25-92 [. . application discards any printer status readback information received before the ECHO response . .] @PJL DINQUIRE RET @PJL DINQUIRE RESOLUTION [. . application receives status readback from the DINQUIRE commands showing that RET = OFF and RESOLUTION = 300. . . .] %-12345X EN Programming Tips for Using PJL 11-7