[python-win32] problem getting printer status in Windows
Roger Upole
rwupole at msn.com
Tue Apr 21 19:29:50 CEST 2009
Just to clarify, the code is asking for job status rather than
printer status.
According to the docs:
http://msdn.microsoft.com/en-us/library/dd145019(VS.85).aspx
the status can be returned either as a string in the pStatus
member, or as an int in Status. You'll probably need to change
the JOB_STATUS_* value into a human-readable string when
the pStatus string isn't given.
Roger
More information about the python-win32
mailing list