Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Is it possible to print a file from my schools server terminal to my printer. How would i do that? Im not sure if this is possible if not how would i view the printers that are set up to print files.

share|improve this question

1 Answer 1

It's actually quite easy to print from a terminal, if you have a printer configured as a /dev/lp device.

You can quite simply:

cat > /dev/lp


cat morestuff.txt | lpr

You can read all about printing from the command line here.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.