CmdID

CmdID / Commands

lpoptions

Display or set printer options and defaults. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Set the default printer

lpoptions -d printer/instanceIdentify

List printer options for the default printer

lpoptions -lIdentify

List currently set options of a specific printer

lpoptions -p printerIdentify

List what options the driver exposes for a printer

lpoptions -p printer -lIdentify

Set a new option on the default printer

lpoptions -o optionIdentify

Remove the options of a specific printer

lpoptions -x printerIdentify