lpinfo (8)
Leading comments
lpinfo man page for CUPS. Copyright 2007-2014 by Apple Inc. Copyright 1997-2006 by Easy Software Products. These coded instructions, statements, and computer programs are the property of Apple Inc. and are protected by Federal copyright law. Distribution and use rights are outlined in the file "LICENSE.txt" which should have been included with this file. If this file is file is missing or damaged, see the license at "http://www.cups.org/".
NAME
lpinfo - show available devices or driversSYNOPSIS
lpinfo [ -E ] [ -U username ] [ -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 ] -mlpinfo [ -E ] [ -U username ] [ -h server[:port] ] [ -l ] [ --exclude-schemes scheme-list ] [ --include-schemes scheme-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.
- -U username
- Sets the username to use when connecting to the server.
- -h server[:port]
- Selects an alternate server.
- -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.
CONFORMING TO
The lpinfo command is unique to CUPS.EXAMPLES
List all devices:lpinfo -vList all drivers:
lpinfo -mList drivers matching "HP LaserJet":
lpinfo --make-and-model "HP LaserJet" -m