I have a bunch of odt files in a directory I want to print. I tried lpr *.odt I got so much junk print outs. Clearly that isn't the answer, so what is?

  • Convert to a PDF and then print? – muru Apr 18 '16 at 17:31

lowriter -p file.odt does the job for one file. The help text* says it works on multiple files, so you could use lowriter -p *odt to do the lot, or some form of shell script to specify those you want...

I didn't test this on multi files myself, but do use it for singles.

*The output of lowriter --help is helpful!

lpr is sending raw data to your printer, and .odt files are not raw text; it will print a .txt or .asc file OK.

  • 1
    I hear sounds of progress! hey it works! – j0h Apr 18 '16 at 17:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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