lpinfo - show available devices or drivers (deprecated)
Contents
Conforming To
The lpinfo command is unique to CUPS.
Copyright
Copyright © 2020-2024 by OpenPrinting.
2022-05-02 CUPS lpinfo(8)
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.
Examples
List all devices:
lpinfo -v
List all drivers:
lpinfo -m
List drivers matching "HP LaserJet":
lpinfo --make-and-model "HP LaserJet" -m
Name
lpinfo - show available devices or drivers (deprecated)
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).
Options
lpinfo accepts the following options:
-E Forces encryption when connecting to the server.
-hserver[:port]
Selects an alternate server. Note: This option must occur before all others.
-l Shows a "long" listing of devices or drivers.
--device-iddevice-id-string
Specifies the IEEE-1284 device ID to match when listing drivers with the -m option.
--exclude-schemesscheme-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-schemesscheme-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.
--languagelocale
Specifies the language to match when listing drivers with the -m option.
--make-and-modelname
Specifies the make and model to match when listing drivers with the -m option.
--productname
Specifies the product to match when listing drivers with the -m option.
--timeoutseconds
Specifies the timeout when listing devices with the -v option.
See Also
lpadmin(8), CUPS Online Help (http://localhost:631/help)
Synopsis
lpinfo [ -hserver[:port] ] [ -E ] [ -l ] [ --device-iddevice-id-string ] [ --exclude-schemesscheme-list ] [ --include-schemesscheme-list ] [ --languagelocale ] [ --make-and-modelname ] [ --productname
] -mlpinfo [ -hserver[:port] ] [ -E ] [ -l ] [ --exclude-schemesscheme-list ] [ --include-schemesscheme-list ] [ --timeoutseconds ] -v