Re: [python-win32] How to change print copies

2020-04-24 Thread Pavel Olifer
and some interesting things that if i change copies using this attributes['pDevMode'].Copies = 4 and than print('Copies= ', win32print.GetPrinter(handle, level)['pDevMode'].Copies) i see 4 qty. but if i print using win32api.ShellExecute( 1, 'printto', path_to_file,

Re: [python-win32] How to change print copies

2020-04-23 Thread Pavel Olifer
Dear Tim, "Have you seen a multi-copy setting work using the native driver?" - i didn't catch this sentence... did you mean did i use native driver in python code? All MFP on my job only Konika-Minolta devices. -- pavel On Fri, Apr 24, 2020 at 8:11 AM Tim Roberts wrote: > On Apr 22, 2020, at 10

Re: [python-win32] How to change print copies

2020-04-23 Thread Tim Roberts
On Apr 22, 2020, at 10:10 PM, Pavel Olifer wrote: > > i use your package for changing printer settings (duplex, copies). > for duplex it is work, but for copies it doesn’t. Some Windows printers don’t honor the “Copies” selection directly. The application has to generate multiple copies on it

[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