Setting a printer as default with CUPS

Published (last updated )

To find the available printers, at a terminal type:

lpstat -p -d

Then to pick one as the default lpd printer, type at the terminal:

lpoptions -d <printer>

The lpq command does not give an error no default destination anymore:

lpq