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: [email protected]
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

Reply via email to