HP 3150 HP PCL/PJL reference - Printer Job Language Technical Reference Manual - Page 54
Example: Using the JOB Command to Monitor, Job Status - laserjet all in one printer
UPC - 879889002135
View all HP 3150 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 54 highlights
Note Example: Using the JOB Command to Monitor Job Status This example demonstrates a PostScript print job that is spooled before printing. The job actually consists of three separate sections (notice the UEL commands that bound the three sections-the first section does not need a closing UEL command since the printer is already in PJL mode): • The first section is sent by the spooler. These lines name the print job and send the USTATUS command so the spooler can monitor job status. • The next section is a PostScript job sent to the spooler from a software application. • The last section is sent by the spooler to end the job. When the last page is completely printed (in the output tray), the printer returns unsolicited status information notifying the spooler that the job is complete. -12345X@PJL @PJL COMMENT **Beginning of Job ** @PJL JOB NAME = "TF's Monitor Job" @PJL USTATUS JOB = ON %-12345X@PJL @PJL ENTER LANGUAGE = POSTSCRIPT %!PS-ADOBE .. PostScript print job ... ^D ~%-12345X ~%-12345X@PJL @PJL EOJ NAME = "End of TF's Job" %-12345X If the spooler received a print job that did not use PJL (that is, the application generated a print job that consisted of just "%!PS-ADOBE .. PostScript print job ... ^D", a LaserJet printer using context-sensitive switching would still print properly (provided PostScript is installed) and the spooler would still receive the unsolicited job status information. 5-6 Job Separation Commands EN