LinuxCommandLibrary

lpoptions

manages printer options

TLDR

Show default options

$ lpoptions
copy
Show printer options
$ lpoptions -p [printer] -l
copy
Set default printer
$ lpoptions -d [printer]
copy
Set printer option
$ lpoptions -p [printer] -o [option=value]
copy
Remove option
$ lpoptions -p [printer] -r [option]
copy
Show all printers
$ lpoptions -l
copy

SYNOPSIS

lpoptions [options]

DESCRIPTION

lpoptions manages printer options. It sets defaults for print jobs and displays available options.
The tool configures user-specific or system-wide printer preferences like paper size and quality.

PARAMETERS

-d PRINTER

Set default destination.
-p PRINTER
Specify printer.
-l
List options.
-o OPTION
Set option value.
-r OPTION
Remove option.
--help
Display help information.

CAVEATS

User options in ~/.cups/lpoptions. System options need root. Options are printer-specific.

HISTORY

lpoptions is part of CUPS for configuring default printer options and destinations.

SEE ALSO

lp(1), lpadmin(8), lpstat(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community