DOKK / manpages / debian 10 / cups-client / lpinfo.8.en
lpinfo(8) Apple Inc. lpinfo(8)

lpinfo - show available devices or drivers

lpinfo [ -E ] [ -h server[:port] ] [ -l ] [ --device-id device-id-string ] [ --exclude-schemes scheme-list ] [ --include-schemes scheme-list ] [ --language locale ] [ --make-and-model name ] [ --product name ] -m
lpinfo [ -E ] [ -h server[:port] ] [ -l ] [ --exclude-schemes scheme-list ] [ --include-schemes scheme-list ] [ --timeout seconds ] -v

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.

lpinfo accepts the following options:

Forces encryption when connecting to the server.
Selects an alternate server.
Shows a "long" listing of devices or drivers.
Specifies the IEEE-1284 device ID to match when listing drivers with the -m option.
Specifies a comma-delimited list of device or PPD schemes that should be excluded from the results. Static PPD files use the "file" scheme.
Specifies a comma-delimited list of device or PPD schemes that should be included in the results. Static PPD files use the "file" scheme.
Specifies the language to match when listing drivers with the -m option.
Specifies the make and model to match when listing drivers with the -m option.
Specifies the product to match when listing drivers with the -m option.
Specifies the timeout when listing devices with the -v option.

The lpinfo command is unique to CUPS.

List all devices:


lpinfo -v

List all drivers:


lpinfo -m

List drivers matching "HP LaserJet":


lpinfo --make-and-model "HP LaserJet" -m

lpadmin(8), CUPS Online Help (http://localhost:631/help)

Copyright © 2007-2017 by Apple Inc.

CUPS 12 June 2014