Use the .NET namespace System.Printing (LocalPrintServer -> PrintQueue.QueueStatus / IsOffline, IsInError, IsOutOfPaper), or a WMI query to Win32_Printer (PrinterStatus / WorkOffline).
You can also subscribe to the report.PrintSettings event or the custom Report.StartReport event before sending the job to the spooler.
Comments
Hello!
Use the .NET namespace System.Printing (LocalPrintServer -> PrintQueue.QueueStatus / IsOffline, IsInError, IsOutOfPaper), or a WMI query to Win32_Printer (PrinterStatus / WorkOffline).
You can also subscribe to the report.PrintSettings event or the custom Report.StartReport event before sending the job to the spooler.