lpinfo

List connected printers and installed drivers for the CUPS print server. More information: <https://openprinting.github.io/cups/doc/man-lpinfo.html>.

Install

All systems
curl cmd.cat/lpinfo.sh
Debian Debian
apt-get install cups-client
Ubuntu
apt-get install cups-client
Alpine
apk add cups
Arch Arch Linux
pacman -S cups
image/svg+xml Kali Linux
apt-get install cups-client
Fedora
dnf install cups-1
Windows (WSL2)
sudo apt-get update sudo apt-get install cups-client
Raspbian
apt-get install cups-client
Docker
docker run cmd.cat/lpinfo lpinfo powered by Commando

List connected printers and installed drivers for the CUPS print server. More information: <https://openprinting.github.io/cups/doc/man-lpinfo.html>.

  • List all the currently connected printers:
    lpinfo -v
  • List all the currently installed printer drivers:
    lpinfo -m
  • Search installed printer drivers by make and model:
    lpinfo --make-and-model "printer_model" -m

© tl;dr; authors and contributors