You should be able to get the "Work Offline" status using
win32print.GetPrinter with level 2. The returned Attributes
will contain PRINTER_ATTRIBUTE_WORK_OFFLINE
Roger
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/ma
Alec Bennett wrote:
I'm trying to get the online/offline status of a printer, and using WMI I'm
finding it very slow. Here's the code I'm working, maybe there's some way to
opimize it? Or some other way? I'm able to use win32print to query the status
of an online printer, but not to find out w
I'm trying to get the online/offline status of a printer, and using WMI I'm
finding it very slow. Here's the code I'm working, maybe there's some way to
opimize it? Or some other way? I'm able to use win32print to query the status
of an online printer, but not to find out whether its online or