[prev in list] [next in list] [prev in thread] [next in thread]
List: openoffice-users
Subject: Re: Linux Command Line Printing Broken?
From: "G. Roderick Singleton" <grsingleton () openoffice ! org>
Date: 2003-12-04 21:15:56
Message-ID: bqo86c$e0a$1 () sea ! gmane ! org
[Download RAW message or body]
Udo Schröter wrote:
> Hi all,
>
> I want to print OpenOffice documents via command line.
> On Windows, that's no problem, I can just call "soffice -p <document>" and
> it works.
>
> But on *Linux* I get this:
>
> Starting /opt/OpenOffice.org/program/soffice...
> /opt/OpenOffice.org/program/soffice.bin:
> cannot open display; DISPLAY environment variable is not set
> please set it to the correct value and check
> the permission to access that display.
> (See "man X" resp. "man xhost" for details)
>
> Obviously OO tries to init the GUI, which I tried to stop it from doing by
> adding the option "-headless" to the command call, but the result stays the
> same.
>
> Of course does work with an active X session for the current user, but I
> want to print OpenOffice documents on a server with no X.
>
> Is it broken?
> Is it supposed to actually need an X session even when in headless mode?
> Am I just being stupid?
>
> Thanks in advance & best regards
>
> Udo
First discover what command line options are available: soffice -h
Second soffice -headless -p <your document.swx>
See works just fine.
--
Postest nocenti contingere ut lateat, latendi fides non postest.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic