lpoptions
Display or set printer options and defaults. tldr-pages
On several platforms
Several platforms
Set the default printer
lpoptions -d printer/instanceIdentifyList printer options for the default printer
lpoptions -lIdentifyList currently set options of a specific printer
lpoptions -p printerIdentifyList what options the driver exposes for a printer
lpoptions -p printer -lIdentifySet a new option on the default printer
lpoptions -o optionIdentifyRemove the options of a specific printer
lpoptions -x printerIdentify