Re: shell tool OpenOffice2PS?
On 12/08/2005 10:20 AM, Robert Michel wrote:
> Salve!
>
> Does anybody knows a tool to convert OOo documents to PS without GUI?
> On my laptop is not much space and such a converter could be handy to
> have on a server.
>
> And btw, does somebody knows a good overview about converters to make
> life more easier on workstations (have to support only a few formats).
>
> Greetings
> rob
Rob,
You /should/ be able to do that from command line with a suitable
printer or script. Man oowriter:
> -p filename...
> Prints the given files to the default printer and ends. The
> splash screen does not appear.
>
> If the file name contains spaces, then it must be enclosed in
> quotation marks.
>
> -pt printername filename...
> Prints the given files to the printer printername and ends. The
> splash screen does not appear.
However, in confirming this, I noted a bug and just filed #342594:
openoffice.org-writer: Ignores command -pt printer_name; prints to
default printer)
While there should be a better way, you could set cups-pdf as default,
then oowriter -p file | pdftops.
Regards,
Ralph
Reply to: