On 07/31/2012 12:53 PM, Lynne Stevens wrote:
...[snip]
*Question there are you using windows or linux ?
linux:
<quote>
or in my case:
/opt/libreoffice3.5/program/soffice --headless --invisible --convert-to
</quote>
That is a linux path, not a windows path.
On 07/31/2012 11:12 AM, NoOp wrote:
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: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Context
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.