1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 15:13:52 +02:00
tldr/pages/common/lpoptions.md
Managor 7fb7795435
lp{rm, q, options}: remove optionality (#17962)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
2025-09-04 14:23:53 +03:00

482 B

lpoptions

Display or set printer options and defaults. See also: lpadmin. More information: https://openprinting.github.io/cups/doc/man-lpoptions.html.

  • Set the default printer:

lpoptions -d {{printer}}/{{instance}}

  • List printer-specific options of a specific printer:

lpoptions -d {{printer}} -l

  • Set a new option on a specific printer:

lpoptions -d {{printer}} -o {{option}}

  • Remove the options of a specific printer:

lpoptions -d {{printer}} -x