lpinfo(8)
πΈ lpinfo(8) β the CUPS bestie that shows u devices & drivers π
okay so real talk, this is lpinfo from OpenPrinting (the CUPS manual, section 8, iykyk). She's the little tool that tells you what printers and drivers your CUPS server knows about. But heads up bestie β the NAME says it loud and clear: (deprecated). Still iconic, still works, just... aging. We'll get to that in NOTES, don't worry π«Ά
β¨ NAME β¨
lpinfo β show available devices or drivers (deprecated) π
β¨ SYNOPSIS β¨
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
β¨ DESCRIPTION β¨
So basically lpinfo lists the available devices or drivers that the CUPS server knows about. That's the whole vibe π
It's got two moods:
- The first form (
-m) lists the available drivers - The second form (
-v) lists the available devices
Pick your fighter. One of them is required, fr fr. π
β¨ OPTIONS β¨
lpinfo accepts the following options, and yes, we're doing all of them, no skipping π
-Eβ forces encryption when connecting to the server. Locked down, secretive, main character behavior π-h server[:port]β selects an alternate server. > β οΈ Note: this option must occur before all others. Not after, not in the middle, FIRST. She's not flexible about this π-lβ shows a "long" listing of devices or drivers. More info, more to read, we love that for us β¨--device-id device-id-stringβ specifies the IEEE-1284 device ID to match when listing drivers with the-moption π--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. So like, bye to those ones π«--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. Keep only these ones π--language localeβ specifies the language to match when listing drivers with the-moption π--make-and-model nameβ specifies the make and model to match when listing drivers with the-moption π--product nameβ specifies the product to match when listing drivers with the-moption π--timeout secondsβ specifies the timeout when listing devices with the-voption. So it doesn't wait forever, periodt β³
β¨ CONFORMING TO β¨
The lpinfo command is unique to CUPS. No other system has her. Original. One of a kind. No copycats allowed π
β¨
β¨ EXAMPLES β¨
List all devices:
lpinfo -v
List all drivers:
lpinfo -m
List drivers matching "HP LaserJet":
lpinfo --make-and-model "HP LaserJet" -m
See how easy that was? Ate, no crumbs π«Ά
β¨ NOTES β¨
okay this is the serious part, bestie, sit down π
CUPS printer drivers and backends are deprecated and will no longer be supported in a future feature release of CUPS.
That's not a vibe, that's a fact. So like, don't build your whole future on these π₯²
Printers that do not support IPP can be supported using applications such as ippeveprinter(1). That's the glow-up path β¨
β¨ SEE ALSO β¨
lpadmin(8)- CUPS Online Help (
http://localhost:631/help) β go run it on your own machine, it's right there π
β¨ COPYRIGHT β¨
Copyright Β© 2020-2024 by OpenPrinting.
and that's the whole page, bestie π this lil writeup is from the CUPS manual, lpinfo(8), dated 2022-05-02 β so if you're reading this way later, check whether the deprecation already happened π love u, go list some printers ππ¦πΈ
π¦ where this page comes from
- alpine 3.22: cups-doc 2.4.18-r0 Β· Apache-2.0
- alpine 3.23: cups-doc 2.4.18-r0 Β· Apache-2.0
- alpine 3.24: cups-doc 2.4.19-r1 Β· Apache-2.0
- centos-stream 10: cups 1:2.4.10-18.el10 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- debian trixie: cups-client 2.4.10-3+deb13u1 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- debian trixie: cups-client 2.4.10-3+deb13u2 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- fedora 43: cups 1:2.4.14-2.fc43 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- fedora 43: cups 1:2.4.19-3.fc43 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- fedora 44: cups 1:2.4.16-7.fc44 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- fedora 44: cups 1:2.4.19-3.fc44 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- nixpkgs unstable: cups 2.4.19
- opensuse-leap 16.0: cups-client 2.4.19-160000.2.1 Β· Apache-2.0
- opensuse-leap 16.0: cups-client 2.4.19-160000.2.1 Β· Apache-2.0
- opensuse-leap 16.0: cups-client 2.4.19-160000.2.1 Β· Apache-2.0
- opensuse-leap 16.0: cups-client 2.4.19-160000.2.1 Β· Apache-2.0
- ubuntu questing: cups-client 2.4.12-0ubuntu3
- ubuntu questing: cups-client 2.4.12-0ubuntu3.10
- ubuntu resolute: cups-client 2.4.16-1ubuntu1 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- ubuntu resolute: cups-client 2.4.16-1ubuntu1.3 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- ubuntu stonking: cups-client 2.4.16-1ubuntu3 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- Copyright Β© 2020-2024 by OpenPrinting
- Copyright Β© 2007-2019 by Apple Inc
- Copyright Β© 1997-2006 by Easy Software Products
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms