Change cupsctl printer Print Style to 1-sided via script

bmgsupport
New Contributor II

Hi all,

I would like to run a script which changes the Print Style to 1-sided as per attached.
Has someone already experience with this?

Thanks
Thomas42e41c938ab7422fb69094dba353594e

4 REPLIES 4

edelcastillo
New Contributor II

I want to know this too.

Chris
Valued Contributor

You can run

lpoptions -p printername -l

to get a list of options that the printer supports. Then you just need to figure out which one you want to change and set it with

lpadmin -p printername -o option=value

for example

lpadmin -p treedestroyer -o Duplex=none

kerouak
Valued Contributor

by far the easiset way to set print options is to set them up locally, then just copy the " com.apple.print.custompresets" from /Library/Preferences to users

kerouak
Valued Contributor

K.I.S.S :-)