[python-win32] How to change print copies

2020-04-22 Thread Pavel Olifer
Good day! i use your package for changing printer settings (duplex, copies). for duplex it is work, but for copies it doesn't. @source_code def set_duplex(printer_name): # print_defaults = {"DesiredAccess": win32print.PRINTER_ACCESS_ADMINISTER} print_defaults = {"DesiredAccess": win32pri

Re: [python-win32] [win32com] Meaning of "TypeError: Only com_record objects can be used as records"?

2020-04-22 Thread Terry Davis
Any ideas? On Tue, Jan 28, 2020 at 1:06 PM Terry Davis wrote: > Update 2: After discovering the `pythoncom.GetRecordFromGuids` and > `.GetRecordFromTypeInfo` (with the comment: "This function will fail if the > specified type info does not have a guid defined"). > > I found that the Record types

Re: [python-win32] Pywin32 latest documentation

2020-04-22 Thread Tim Golden
All my code does is to take the .chm file which ships with pywin32, unpick it, and turn it into a series of HTML pages. There's a tiny bit of tidying-up but that's all. So if there are no docs in that Help file for some modules, there won't be any on those web pages. If they *are* there and I'