0% found this document useful (0 votes)
2 views

Printing - Linux Command Library

Uploaded by

abinadabhp13
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Printing - Linux Command Library

Uploaded by

abinadabhp13
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

12/2/24, 10:12 Printing | Basic | Cheat sheet | Linux Command Library

LINUX COMMAND LIBRARY

BASICS TIPS COMMANDS

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

You might also like