lpinfo man page for CUPS.
Copyright © 2007-2019 by Apple Inc.
Copyright © 1997-2006 by Easy Software Products.
Licensed under Apache License v2.0. See the file "LICENSE" for more
information.
lpinfo [ -E ] [ -h server[:port] ] [ -l ] [ --exclude-schemes scheme-list ] [ --include-schemes scheme-list ] [ --timeout seconds ] -v
5 -E Forces encryption when connecting to the server.
5 -h server[:port] Selects an alternate server.
5 -l Shows a "long" listing of devices or drivers.
5 --device-id device-id-string Specifies the IEEE-1284 device ID to match when listing drivers with the -m option.
5 --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.
5 --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.
5 --language locale Specifies the language to match when listing drivers with the -m option.
5 --make-and-model name Specifies the make and model to match when listing drivers with the -m option.
5 --product name Specifies the product to match when listing drivers with the -m option.
5 --timeout seconds Specifies the timeout when listing devices with the -v option.
lpinfo -vList all drivers:
lpinfo -mList drivers matching "HP LaserJet":
lpinfo --make-and-model "HP LaserJet" -m