lpinfo8
Show available devices or drivers (deprecated)
Usage
lpinfo [-h
server
[:port]]
[-E]
[-l]
[--device-id
device-id-string]
[--exclude-schemes
scheme-list]
[--include-schemes
scheme-list]
[--language
locale]
[--make-and-model
name]
[--product
name]
-m
lpinfo [-h
server
[:port]]
[-E]
[-l]
[--exclude-schemes
scheme-list]
[--include-schemes
scheme-list]
[--timeout
seconds]
-v
Overview
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 device-id-string -
Specifies the IEEE-1284 device ID to match when listing drivers with the -m option.
-
--exclude-schemes scheme-list -
Specifies a comma-delimited list of device or PPD schemes that should be excluded from the results. Static PPD files use the "file" scheme.
-
--include-schemes scheme-list -
Specifies a comma-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.
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).
Releases
13 releases since Debian 3.0 (Woody); the text changed 11 times.
--device-id since Debian 6.0 (Squeeze);
--exclude-schemes since Debian 6.0 (Squeeze);
--include-schemes since Debian 6.0 (Squeeze);
--language since Debian 6.0 (Squeeze);
--make-and-model since Debian 6.0 (Squeeze);
--product since Debian 6.0 (Squeeze);
--timeout since Debian 6.0 (Squeeze);
-h since Debian 4.0 (Etch).
-U until Debian 8 (Jessie);
-m until Debian 3.1 (Sarge);
-v until Debian 3.1 (Sarge).