HP 5100tn Printer Job Language - Technical Reference Manual - Page 62
Job Cancellation, Unsolicited Status
View all HP 5100tn manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 62 highlights
If the job had been cancelled instead of completed, the printer would respond with the same message except the RESULT value would be different. Job Cancellation Unsolicited Status As soon as the printer receives notification that a job is cancelled, the printer provides the @PJL USTATUS JOB CANCELED message to the driver/spooler if unsolicited job status is enabled. Using the same job name and ID number as the previous example, the printer's response would be: @PJL USTATUS JOB CANCELED NAME="job name" ID=346 RESULT=USER_CANCELED The job name provided in the NAME option of the PJL USTATUS JOB CANCELED response is the current job name if a current job name is available. The current job name is the job name retained in the printer at the time the last PJL JOB command was processed. The current job name could also have been supplied and/or modified using PostScript. If a job name is supplied in the EOJ command and if unsolicited job status is enabled at the time the EOJ command is parsed, the NAME option of the PJL USTATUS JOB CANCELED response will contain the job name assigned in the EOJ command. Otherwise, the NAME line is eliminated from the response. 5-16 Job Separation Commands