I\'m trying to print a pdf file from Python with module win32print but the only way I can print success is a text.
win32print
hPrinter = win32print.OpenPri
You can try
win32print.SetDefaultPrinter("\\\\Server\Printer")
This method accepts a String, not the printer object you tried to pass it.