I haven't used CUPS in a long time, but a quick look on the CUPS website provides
https://www.cups.org/doc/options.html
I would suggest trying from the command line first and then putting it into you python script.
Code:
lp -o media=Custom.WIDTHxLENGTHmm filename
I would suggest trying from the command line first and then putting it into you python script.
Statistics: Posted by AndyD — Thu Jul 18, 2024 6:19 am