Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Set Printer Options
lpa='/usr/sbin/lpadmin'
${lpa} -p CopyThat -E -o printer-is-shared=false -v lpd://10.89.170.5 \
-P "/Library/Printers/PPDs/Contents/Resources/Xerox WorkCentre 7855.gz"
${lpa} -p CopyThat -o Duplex=DuplexNoTumble -o XROutputColor=PrintAsGrayscale
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment