win32print.SetDefaultPrinterW

None = SetDefaultPrinterW(Printer)

Sets the default printer

Parameters

Printer : PyUnicode

Name of printer, can be None to use first available printer

Comments

Unlike win32print::SetDefaultPrinter, this method calls the SetDefaultPrinter API function.