HP 3330mfp HP PCL/PJL reference - Printer Job Language Technical Reference Man - Page 155
Job Recovery, Sending the Initial Job
UPC - 088698451328
View all HP 3330mfp manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 155 highlights
Job Recovery PJL provides job recovery capability using the following combination of commands: • The JOB and EOJ commands are used to reset the page count and inform the printer of the boundaries for the job-its beginning and end. • The USTATUS PAGE command is used to determine how many pages are completely printed. If you must reprint a portion of a job, the spooling application can re-issue the job using the START option to specify the remaining portion of the job. The following PJL job shows an example that provides job recovery if a problem occurs. Notice that the USTATUS JOB and USTATUS PAGE commands are sent prior to the JOB command. If a power failure or another problem interrupts the job, the unsolicited page status indicates the last completely printed page. Note The USTATUS JOB command is not strictly required for job recovery. However, it is useful for tracking jobs by name, not just page number. The following example uses the command to show the difference between the page count returned by the unsolicited job status and the unsolicited page status. Sending the Initial Job %-12345X@PJL @PJL COMMENT Providing for Recovery @PJL USTATUS JOB = ON @PJL USTATUS PAGE = ON @PJL JOB NAME = "1st Shot" @PJL ENTER LANGUAGE = PCL E ... 100-page PCL job ... E ~%-12345X@PJL @PJL EOJ NAME = "End of 1st Shot" %-12345X EN Status Readback Commands 7-43