lpstat

Show status information about printers. More information: <https://manned.org/lpstat>.

Install

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

Show status information about printers. More information: <https://manned.org/lpstat>.

  • List printers present on the machine and whether they are enabled for printing:
    lpstat -p
  • Show the default printer:
    lpstat -d
  • Display all available status information:
    lpstat -t
  • Show a list of print jobs queued by a specific user:
    lpstat -u user

© tl;dr; authors and contributors