Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index

On 07/30/2012 02:04 AM, Sharon Kimble wrote:
I'm trying to use this command to create a pdf file from an .odt file
but its failing for some reason.
 libreoffice --headless --invisible --convert-to pdf test.odt

Can anyone help me in getting it to work please, as its needed for a
bash script.

What version of LO?

For 3.3.4:
libreoffice --headless --invisible -convert-to pdf test.odt

Note the single dash (-) before 'convert'. It I use --convert I get an
error. Also, the process doesn't terminate properly & I have to use
Ctrl-c to get it to quit.

For 3.5.x:
libreoffice --headless --invisible --convert-to pdf test.odt
or in my case:
/opt/libreoffice3.5/program/soffice --headless --invisible --convert-to
pdf test.odt
works w/o issue.

For unsubscribe instructions e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.