mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
acd040b228
Co-authored-by: Nelson Figueroa <30811275+nelsonfigueroa@users.noreply.github.com>
626 B
626 B
lpoptions
Display or set printer options and defaults. See also:
lpadmin,lp,lpstat. More information: https://openprinting.github.io/cups/doc/man-lpoptions.html.
- Set the default printer:
lpoptions -d {{printer}}/{{instance}}
- List printer options for the default printer:
lpoptions -l
- List currently set options of a specific printer:
lpoptions -p {{printer}}
- List what options the driver exposes for a printer:
lpoptions -p {{printer}} -l
- Set a new option on the default printer:
lpoptions -o {{option}}
- Remove the options of a specific printer:
lpoptions -x {{printer}}