How can I convert an OpenOffice document to PDF from the Linux command line?

Posted by Norman Ramsey on Super User See other posts from Super User or by Norman Ramsey
Published on 2010-01-05T19:16:56Z Indexed on 2010/04/15 18:23 UTC
Read the original article Hit count: 354

Filed under:
|
|

I have students who, when asked for PDF, sometimes hand me an OpenOffice document or spreadsheet. file(1) can identify these documents, but I've been unable to discover how to convert them to PDF using the command line. (The man page for ooffice(1) lists an option to print a document but not to convert to PDF.) Google is unhelpful, except for giving me the uneasy feeling that this can't be done without a nifty script in a language I don't know against an API whose documentation I can't find.

Can anyone help me solve the problem of converting an OpenDocument to PDF using only the Unix command line?

© Super User or respective owner

Related posts about openoffice.org

Related posts about pdf