lpoptions
Display or set printer options and defaults. See also: lpadmin. More information: <https://openprinting.github.io/cups/doc/man-lpoptions.html>.
Install
- All systems
-
curl cmd.cat/lpoptions.sh
- Debian
-
apt-get install cups-client - Ubuntu
-
apt-get install cups-client -
Alpine
-
apk add cups - Arch Linux
-
pacman -S cups - Kali Linux
-
apt-get install cups-client - Fedora
-
dnf install cups-client-1 - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install cups-client - Raspbian
-
apt-get install cups-client - Docker
-
docker run cmd.cat/lpoptions lpoptionspowered by Commando
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
© tl;dr; authors and contributors