I think you'll have to look at the UNO framework to script what you need.<br><br>Laurent<br><br><div><span class="gmail_quote">2007/6/4, Frank Cox <<a href="mailto:theatre@sasktel.net">theatre@sasktel.net</a>>:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">It occurs to me that OpenOffice would make a dandy filter to do some file<br>conversions. I'm thinking that I can load html and doc files and so on into
<br>OpenOffice Writer, then print them to a file and get Postscript or PDF all in<br>one smooth motion.<br><br>I would like to script this operation and tell OpenOffice to load test.html<br>into Writer, then print it to a file.
<br><br>I can get the first half of the job<br><br>ooffice -writer test.html<br><br>That brings up Writer and loads my file.<br><br>Now how do I print it to a Postscript or PDF file and close OpenOffice without<br>having to click the icons?
<br><br>I've tried all sorts of permutations of "ooffice -pt Cups-PDF test.html"<br>without success.  Printing to the Cups-PDF printer from within OpenOffice works<br>fine, but I can't find the magic combination to get it to do that automatically.
<br><br>--<br>MELVILLE THEATRE ~ Melville Sask ~ <a href="http://www.melvilletheatre.com">http://www.melvilletheatre.com</a><br><br>--<br>fedora-list mailing list<br><a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com
</a><br>To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list">https://www.redhat.com/mailman/listinfo/fedora-list</a><br></blockquote></div><br>