lpq
Show printer queue status. More information: <https://openprinting.github.io/cups/doc/man-lpq.html>.
Install
- All systems
-
curl cmd.cat/lpq.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 update
sudo apt-get install gnuspool
- Raspbian
-
apt-get install gnuspool
- Dockerfile
- dockerfile.run/lpq
- Docker
-
docker run cmd.cat/lpq lpq
powered by Commando
Show printer queue status. More information: <https://openprinting.github.io/cups/doc/man-lpq.html>.
-
Show the queued jobs of the default destination:
lpq
-
Show the queued jobs of all printers enforcing encryption:
lpq -a -E
-
Show the queued jobs in a long format:
lpq -l
-
Show the queued jobs of a specific printer or class:
lpq -P destination[/instance]
-
Show the queued jobs once every n seconds until the queue is empty:
lpq +interval
© tl;dr; authors and contributors