Printing - Linux Command Library
Printing - Linux Command Library
Printing
Print a file Cancel printing job
$ cat [file] > /dev/lp $ lprm - # previous
$ cat [file] | lpr $ lprm [jobID]
$ pr -l60 [file] | l pr $ lprm -a all
$ lpr [printerName] [file] $ cancel [printerName]
$ cancel -u [user]
View printing queue
$ lpq Display printer status
$ lpstat -t
Enable printer
$ enable [name]
Disable printer
$ disable [name]
All man pages are copyrighted by their respective authors. Thanks to TLDR and commandlinefu.com
Simon Schubert - [email protected]
https://linuxcommandlibrary.com/basic/printing 1/2
12/2/24, 10:12 Printing | Basic | Cheat sheet | Linux Command Library
My other projects:
https://linuxcommandlibrary.com/basic/printing 2/2