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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to print out 40 or so different .doc files which are in a directory. There is no right-click option to print them all out if I select them. I don't want to open each one and then print them one by one.

Is there any way to batch print word (.doc) files in Ubuntu?

share|improve this question

Create file in ~/.gnome2/nautilus-scripts and name it 'Print selected' or however you want. Copy paste this into it:

  lpr $i

Make it executable, restart Nautilus. Now you'll be able to print selected file(s) with right clicking the selection and choosing 'Print selected' from Scripts menu.

share|improve this answer

open your terminal and cd to that dir where you have files and then type

lpr file_name1 file_name2 file_name3

for easy filling your files name there press first two or three letters of that file name and give a TAB , so automatically it will fill that file name .

Hope that helps.

share|improve this answer

cd into the directory and then run something like find . -name "*.doc" -exec lpr {} \;

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.