[python-win32] Re: win32print.SetPrinter

Roger Upole rwupole at msn.com
Sat Apr 30 00:21:25 CEST 2005


Strange, the DEVMODE for a printer shouldn't be null if the driver
is installed correctly.  Although I guess it's possible this doesn't apply
on Win98.
You might be able to retrieve a DEVMODE to pass back in using
DocumentProperties.  Alternately, you can create a new one using
pywintypes.DEVMODEType() and set the appropriate values.
    hth
      Roger






More information about the Python-win32 mailing list