6
Apr/09
0

Linux Command Line Printing

Almost anything can be done from the command line. You can listen to music, read email, and install packages. However, some tasks are a little easier to do from a gui, such as printing. However, you eventually come across a situation where you would need to print from the command line. Perhaps you want to make a scheduled printing job of email or social information. Maybe you want to print something off real quick without being forced to open up a word proccessor.

The answer lies in the command line program “lpr.” To print off a file, use:

lpr file.txt

I used these commands to make one page printable tips:

cd ~

mkdir tips

cd tips

nano Tip.txt

lpr Tip.txt

As long as you have a default printer set, you should be good to go!

Comments (0) Trackbacks (0)

No comments yet.

Leave a comment

No trackbacks yet.