NAME | SYNOPSIS | DESCRIPTION | OPTIONS | CONFORMING TO | EXAMPLES | SEE ALSO | COPYRIGHT | COLOPHON |
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: -E Forces encryption 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.
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.
This page is part of the CUPS (a standards-based, open source
printing system) project. Information about the project can be found
at ⟨http://www.cups.org/⟩. If you have a bug report for this manual
page, see ⟨http://www.cups.org/⟩. This page was obtained from the
project's upstream Git repository ⟨https://github.com/apple/cups⟩ on
2017-07-05. If you discover any rendering problems in this HTML ver‐
sion of the page, or you believe there is a better or more up-to-date
source for the page, or you have corrections or improvements to the
information in this COLOPHON (which is not part of the original man‐
ual page), send a mail to man-pages@man7.org
12 June 2014 CUPS lpinfo(8)
Pages that refer to this page: cups(1), backend(7), cups-snmp(8), lpadmin(8)