Reputation: 51
How to Get the print confirmation message from printer in C# i.e is successfully printed or Not?
Upvotes: 1
Views: 839
Reputation: 5566
The answer will depend on how you are printing, however...
This is pretty good library which I use: https://printqueuewatch.codeplex.com/
printQueueWatch.AddPrinter(printDlg.PrintQueue.FullName)
AddHandler printQueueWatch.JobSet, AddressOf printQueueMonitor_PrintJobStatusChanged
AddHandler printQueueWatch.JobDeleted, AddressOf printQueueMonitor_PrintJobStatusChanged
Its not perfect, I've tweeked it a little here and there for my own needs but is the best free one I've found
Upvotes: 1