isladogs
MVP / VIP
- Local time
- Today, 04:34
- Joined
- Jan 14, 2017
- Messages
- 18,584
Tried that. There are many properties for each printer driver of which 3 printer driver properties looked promising: StartMode, Started, Status.In further researching this question, I noted that perhaps you don't want to look at the printer, you want to look at the driver for the printer.
Win32_PrinterDriver class - Win32 apps
The Win32\_PrinterDriver WMI class represents the drivers for a Win32\_Printer instance.docs.microsoft.com
The code looks similar but you need to query the driver rather than the printer to determine status. There is a code snippet in the linked article.
Unfortunately, all 3 properties are blank for each installed printer driver on my PC