int = DocumentProperties(HWnd, hPrinter
, DeviceName
, DevModeOutput
, DevModeInput
, Mode
)
Changes printer configuration for a printer
Parameters
HWnd : PyHANDLE
Parent window handle to use if DM_IN_PROMPT is specified to display printer dialoghPrinter : PyPrinterHANDLE
Printer handle as returned by win32print::OpenPrinterDeviceName : string
Name of printerDevModeOutput : PyDEVMODE
PyDEVMODE object that receives modified info, can be None if DM_OUT_BUFFER
not specifiedDevModeInput : PyDEVMODE
PyDEVMODE that specifies initial configuration, can be None if DM_IN_BUFFER
not specifiedMode : int
A combination of DM_IN_BUFFER, DM_OUT_BUFFER, and DM_IN_PROMPT - pass 0 to retrieve driver data
sizeReturn Value
If DM_IN_PROMPT is specified, returned value will be IDOK or IDCANCEL