How to get events for PrintJob error statuses?

How to get events for PrintJob error statuses?

Forum member · Dec 5, 2014
I see that the PrintJob status has values for things like OutOfPaper or Offline, but when I send jobs to the printer when the printer is either out of paper or offline, the job just sits in the print queue, and an job updated even is never raised. Is there a way to be notified when the printer is actually out of paper / offline / other error when printing a PDF?

Re: How to get events for PrintJob error statuses?

Support · Dec 11, 2014
Hello, The PrintManager sends the print job to the spooler and monitors the job within the spooler itself. The printer has to return the status of the print job to the spooler and then the PrintManager reads this status and fires the event accordingly. Some printers return the status for every page printed in which case the PrintJob’s Update event will fire and notify that a certain page is printed, some printers do not return the status in which case the PrintJob’s event will not fire. Also you can refer to the documentation on handling events here and documentation on print job status enumerator here . Our DynamicPDF PrintManager API does not fire any event until the spooler gets updates from the Printer. Hence firing events when printer is offline (out of paper or output tray is full) depends on the printer and how it updates the spooler. Thanks, ceTe Software Support Team.