win32print.SetPrinter
SetPrinter(hPrinter, Level, pPrinter, Command)
Change printer configuration and status
Parameters
Comments
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).