> win32print.GetPrinter(handle, level).Duplex > win32print.SetPrinter(handle, level, attributes, 0) > attributes = win32print.GetPrinter(handle, level) > handle = win32print.OpenPrinter(name, printdefaults) ![]() > printdefaults = # Doesn't work with PRINTER_ACCESS_USE ![]() ![]() > name = win32print.GetDefaultPrinter() # verify that it matches with the name of your printer Note that this works best in a get/set operation: > import win32print This object has other common attributes like color settings (black
0 Comments
Leave a Reply. |