SetPrinter(hPrinter, Level, pPrinter, Command)
Change printer configuration and status
Parameters
hPrinter : PyPrinterHANDLE
Printer handle as returned by win32print::OpenPrinterLevel : int
Level of data contained in pPrinterpPrinter : dict
PRINTER_INFO_* dict as returned by win32print::GetPrinter, can be None if level is 0Command : int
Command to send to printer - one of the PRINTER_CONTROL_* constants, or 0Comments
If Level is 0 and Command is PRINTER_CONTROL_SET_STATUS, pPrinter should be an integer,
and is interpreted as the new printer status to set (one of the PRINTER_STATUS_* constants).