On Tuesday 19 July 2005 16:33, James Hammer wrote:
> I am currently working with openoffice.org1.9.113 on Linux with a 2.6.12
> kernel.
>
> I would like to be able to convert .doc and .xls formats to .pdf format
> using a script.  If I login with an X server running and run something
> like 'soffice -pt "pdfmaker" myfile.doc' (where pdfmaker is a PDF
> Converter that has already been setup for this user) then everything
> works great.
>
> The problem is that I want to run the script without an X server
> running.  If no X server is running when I run the script, using the
> same command as above, it dies with the following error:
>
>   /opt/openoffice.org1.9.113/program/soffice.bin X11 error: Can't open
> display:
>      Set DISPLAY environment variable, use -display option
>      or check permissions of your X-Server
>      (See "man X" resp. "man xhost" for details)
>
> Is it possible to print from the command-line without an X server
> running?  If so what do I need to do?

Hi James,
 No it is not possible. 
However you can run it against Xvfb.

-- 
CPH : openoffice.org contributor

Maybe your question has been answered already?
                                http://user-faq.openoffice.org/#FAQ

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to