Logo

Command Line Printing in Ubuntu

Logo

Recently I wanted to print a bunch of files without having to open them. It was a joy to do it from the command line.

$ lpstat -p -d
printer HAT2-GD-03 is idle.  enabled since Tue 23 Jul 2013 10:16:28 BST
$ lpr -P "HAT2-GD-03" github-cmullaparthi-receipt-2013-03-28.pdf

Ta da!


Originally published at chandrusoft.wordpress.com

Want to learn more?

Get in touch to discuss how we can help with your project.

Contact Us