PrintJob events not firing

PrintJob events not firing

Forum member · Mar 25, 2013
I am printing to a network printer and everything works except none of the events are firing. The document prints successfully, but the Succeeded event doesn't fire. Do the events only work with local printers? Here is the code I am using to print: PrintJob printJob = new PrintJob(printer, filename); printJob.Failed += new PrintJobFailedEventHandler(printer_PrintJobFailed); printJob.Succeeded += new PrintJobEventHandler(printer_PrintJobSucceeded); printJob.Updated += new PrintJobEventHandler(printer_PrintJobUpdated); printJob.Print(); I have the events defined, but they never get called.

Re: PrintJob events not firing

Support · Mar 26, 2013
Hello, Can you please send over the following details to our [^a|mailto:support@cete.com|opennewwindow|support^] team so that they can look into it further? 1.Exact name and version of the operating system(Whether it is x86 or x64). 2.Exact build number of the PrintManager dll file. 3.Printer details. Thanks, ceTe Software Support Team.

Re: PrintJob events not firing

Support · Mar 28, 2013
Hello, Some printers do not support job status updates, in such cases the PrintManager does not receive any updates from the printer so the Succeeded event will not fire. The Update event will fire in all cases. If the printer supports the job status updates the update event fires multiple times returning the status of the job and finally it will fire the succeeded event. Thanks, ceTe Software Support Team.

Re: PrintJob events not firing

Forum member · May 7, 2013
I tried to use the control with HP LaserJet 1020 printer, when i connect the printer to my local machine by connecting it to a USB port. The job status functionality works fine. However when i use the same printer connected to another PC on a network, though i am able to print the documents but i do not get job status through the control.

Re: PrintJob events not firing

Support · May 9, 2013
Hello, In your case, it is possible that the print status is not communicated correctly between the two computers over the network. When the PrintManager sends the print job to the spooler it monitors the spooler for print statuses sent by the printer and fires the events accordingly. If it does not receive the print status from the printer it will not be able to fire the events. In our testing with different printers we were able to print to a shared network printer and the events fired correctly for most of them and some printers were unable to report the print status correctly over the network which indicates an issue with those specific print drivers. Thanks, ceTe Software Support Team.