lpstat
Show status information about printers. More information: <https://manned.org/lpstat>.
Install
- All systems
-
curl cmd.cat/lpstat.sh
- Debian
-
apt-get install lprng - Ubuntu
-
apt-get install gnuspool -
Alpine
-
apk add cups - Arch Linux
-
pacman -S cups - Kali Linux
-
apt-get install lprng - Fedora
-
dnf install cups - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install gnuspool - Raspbian
-
apt-get install gnuspool - Docker
-
docker run cmd.cat/lpstat lpstatpowered 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