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 update
sudo apt-get install cups-client
- Raspbian
-
apt-get install cups-client
- Dockerfile
- dockerfile.run/lpoptions
- Docker
-
docker run cmd.cat/lpoptions lpoptions
powered 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