|
NAME | SYNOPSIS | DESCRIPTION | OPTIONS | CONFORMING TO | EXAMPLES | NOTES | SEE ALSO | COPYRIGHT | COLOPHON |
|
|
|
lpinfo(8) OpenPrinting lpinfo(8)
lpinfo - show available devices or drivers (deprecated)
lpinfo [ -h server[:port] ] [ -E ] [ -l ] [ --device-id device-id-
string ] [ --exclude-schemes scheme-list ] [ --include-schemes
scheme-list ] [ --language locale ] [ --make-and-model name ] [
--product name ] -m
lpinfo [ -h server[:port] ] [ -E ] [ -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. Note: This option must occur
before all others.
-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
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).
lpadmin(8), CUPS Online Help (http://localhost:631/help)
Copyright © 2020-2024 by OpenPrinting.
This page is part of the CUPS (a standards-based, open source
printing system) project. Information about the project can be
found at ⟨https://github.com/openprinting/cups⟩. If you have a
bug report for this manual page, see
⟨https://github.com/OpenPrinting/cups/issues⟩. This page was
obtained from the project's upstream Git repository
⟨https://github.com/openprinting/cups⟩ on 2025-08-11. (At that
time, the date of the most recent commit that was found in the
repository was 2025-08-07.) If you discover any rendering
problems in this HTML version 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 manual page), send a mail to
[email protected]
2022-05-02 CUPS lpinfo(8)
Pages that refer to this page: cups(1), backend(7), cups-snmp(8), lpadmin(8)