Skip to content

Instantly share code, notes, and snippets.

@acodega
Last active February 6, 2020 14:54
Show Gist options
  • Save acodega/de522181216c7978af69 to your computer and use it in GitHub Desktop.
Save acodega/de522181216c7978af69 to your computer and use it in GitHub Desktop.
Get all feature options
lpoptions -p [printer] -l
Install a printer using generic driver
Install a printer
lpadmin -p "HP-576dw-3-S" -D "HP X576dw (3 South)" -E -v lpd://192.168.60.53 -P "/Library/Printers/PPDs/Contents/Resources/HP Officejet Pro X476-X576 MFP.gz" -o printer-is-shared=false
Make a printer default (use the name from -p)
lpoptions -d New_Printer_PPD
lpadmin GUI tool
https://github.com/mikaellofgren/PrinterSetup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment