Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

convert odt to pdf via the command line

442 views
Skip to first unread message

Raj Kiran Grandhi

unread,
Sep 23, 2008, 9:10:15 AM9/23/08
to
I have a bunch of .odt files that I want to convert to pdf. Is there any
tool that can do it? apt-cache search did not show anything helpful nor
did google.

Last time I needed this, I ended up adding a pdf printer and printing
the documents to that printer using the -pt option of oowriter.

However, it is not very reliable, since the command returns immediately
and the pdf is available only after some time. Makes it tricky to write
a script that has to use the generated pdf.

Any pointers will be helpful.

Thanks,
Raj Kiran


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

François Cerbelle

unread,
Sep 23, 2008, 9:20:12 AM9/23/08
to

Le Mar 23 septembre 2008 14:59, Raj Kiran Grandhi a écrit :
> I have a bunch of .odt files that I want to convert to pdf. Is there any
> tool that can do it? apt-cache search did not show anything helpful nor
> did google.
Strange, I should have a different question when asking Google :
batch export openoffice pdf

[...]


> Any pointers will be helpful.

And my friend Google gave me this link that should help you :
http://www.oooninja.com/2008/02/batch-command-line-file-conversion-with.html

;-)
Have a nice day

Fanfan
--
http://www.cerbelle.net - http://www.afdm-idf.org

Raj Kiran Grandhi

unread,
Sep 23, 2008, 11:30:14 AM9/23/08
to
François Cerbelle wrote:
> Le Mar 23 septembre 2008 14:59, Raj Kiran Grandhi a écrit :
>> I have a bunch of .odt files that I want to convert to pdf. Is there any
>> tool that can do it? apt-cache search did not show anything helpful nor
>> did google.
> Strange, I should have a different question when asking Google :
> batch export openoffice pdf
>
> [...]
>> Any pointers will be helpful.
> And my friend Google gave me this link that should help you :
> http://www.oooninja.com/2008/02/batch-command-line-file-conversion-with.html

Works great! Thanks.

>
> ;-)
> Have a nice day
>
> Fanfan

--
Raj Kiran Grandhi.

Raj Kiran Grandhi

unread,
Sep 23, 2008, 9:50:07 PM9/23/08
to
Roberto D'Oliveira wrote:
> 2008/9/24 Raj Kiran Grandhi <graj...@gmail.com>:

>> I have a bunch of .odt files that I want to convert to pdf. Is there any
>> tool that can do it? apt-cache search did not show anything helpful nor did
>> google.
>>
>> Last time I needed this, I ended up adding a pdf printer and printing the
>> documents to that printer using the -pt option of oowriter.
>>
>> However, it is not very reliable, since the command returns immediately and
>> the pdf is available only after some time. Makes it tricky to write a script
>> that has to use the generated pdf.
>>
>> Any pointers will be helpful.
>>
>> Thanks,
>> Raj Kiran
>>
>>
>
> I'm using unoconv for this work.
>

Unfortunately for me, unoconv is only available on lenny and later. For
etch, the script pointed out by François Cerbelle does a fairly good job.

Thank you.
Raj Kiran Grandhi

0 new messages