KandZ – Tuts

We like to help…!

Linux CLI 52 ๐Ÿง lpstat, lpq and lprm commands

a - lpstat command
lpstat command provides information about the status of the printers
common options: -a โ†’ shows accepting state of printers
-p โ†’ shows all printers -d โ†’ shows current default destination
-s โ†’ shows a status summary -v โ†’ shows printers' attached devices
lpstat -a โ†’ shows accepting state of printers
lpstat -p โ†’ shows all printers
lpstat -d โ†’ shows current default destination
lpstat -s โ†’ shows a status summary

b - lpq command
lpq command shows the current print queue status
It provides information about jobs that are currently waitintg to be printed
common options: -a โ†’ shows jobs on all printers
-l โ†’ verbose report -P printer โ†’ specifies and alternative printer
lpq -l โ†’ shows verbose print queue status for default destination
lpq -P canon โ†’ shows print queue status for canon printer
lpq -l -P canon โ†’ shows verbose print queue status for canon printer

c - lprm command
lprm command removes jobs from the print queue
It allows you to cancel print jobs that are pending or being processed
common options: -P โ†’ specifies the printer
-U โ†’ specifies the user -h โ†’ specifies a server
lprm 345 โ†’ removes job 345
lprm -P canon 345 โ†’ removes job 345 for printer canon
lprm -P canon 345 - โ†’ removes all jobs for printer canon

Stop using slow, ad-bloated tool sites! ๐Ÿคฎ

๐Ÿ”Ž Search “KandZ Tools” on Google to use many professional utilities for free.

KandZ.me is the ultimate minimalist hub for:
โœ… Finance (Mortgage, Interest, Inflation)
โœ… Tech (Base64, JSON, Dev Suite, IP)
โœ… Health (BMI, BMR, TDEE)
โœ… Productivity (Timer, Workspace, QR)

โšก๏ธ Fast & Private
๐Ÿ”’ No data leaves your device
๐Ÿ’Ž 100% Free

๐Ÿ”— Use it now: https://tools.kandz.me
๐Ÿ”– Bookmark itโ€”youโ€™ll need it later!

Leave a Reply