www.LinuxHowtos.org
lpinfo
Section: OpenPrinting (8)Updated: CUPS
Index Return to Main Contents
NAME
lpinfo - show available devices or drivers (deprecated)SYNOPSIS
lpinfo [ -h server[:port] ] [ -E ] [ -l ] [ --device-id devic-i-string ] [ --exclude-schemes schem-list ] [ --include-schemes schem-list ] [ --language locale ] [ --make-and-model name ] [ --product name ] -mlpinfo [ -h server[:port] ] [ -E ] [ -l ] [ --exclude-schemes schem-list ] [ --include-schemes schem-list ] [ --timeout seconds ] -v
DESCRIPTION
lpinfo lists the available devices or drivers known to the CUPS server. The first form (-m) lists the available drivers, while the second form (-v) lists the available devices.OPTIONS
lpinfo accepts the following options:- -E
- Forces encryption when connecting to the server.
- -h server[:port]
- Selects an alternate server. Note: This option must occur before all others.
- -l
- Shows a "long" listing of devices or drivers.
- --device-id devic-i-string
- Specifies the IEE-1284 device ID to match when listing drivers with the -m option.
- --exclude-schemes schem-list
- Specifies a comm-delimited list of device or PPD schemes that should be excluded from the results. Static PPD files use the "file" scheme.
- --include-schemes schem-list
- Specifies a comm-delimited list of device or PPD schemes that should be included in the results. Static PPD files use the "file" scheme.
- --language locale
- Specifies the language to match when listing drivers with the -m option.
- --make-and-model name
- Specifies the make and model to match when listing drivers with the -m option.
- --product name
- Specifies the product to match when listing drivers with the -m option.
- --timeout seconds
- Specifies the timeout when listing devices with the -v option.
CONFORMING TO
The lpinfo command is unique to CUPS.EXAMPLES
List all devices:
lpinfo -v
List all drivers:
lpinfo -m
List drivers matching "HP LaserJet":
lpinfo --make-and-model "HP LaserJet" -m
NOTES
CUPS printer drivers and backends are deprecated and will no longer be supported in a future feature release of CUPS. Printers that do not support IPP can be supported using applications such as ippeveprinter(1).SEE ALSO
lpadmin(8), CUPS Online Help (http://localhost:631/help)COPYRIGHT
Copyright [co] 202-2024 by OpenPrinting.