Post

Replies

Boosts

Views

Created

How to change default settings(a4,color etc.) on print system dialog in macOS programatically
Hello, I added a printer using lpadmin command. ` lpadmin "-p", "print_queue", "-D", "print queue", "-P", "temp/data/driver.ppd", "-E", "-o", "printer-error-policy=abort-job", "-o", "printer-is-shared=false", "-o", "cupsIPPSupplies=false", "-o", "cupsSNMPSupplies=false", "-o", "ColorModel=Color", "-o", "Media=A3", "-o", "OutputPaperSize=A3" then I set default printing options for your user account via lpoptions `lpoptions "-p", "print_queue", "-o", "Duplex=DuplexNoTumble", "-o", "Media=A3" But still default values in system print dialog are set to a4 and grayscale. Why? Is there any way how to change it to correspond with values set by these commands? Also tried to change driver files defaults, but again, nothing.
3
0
124
May ’25