Even though you are running headless, it may require CUPS-PDF to be setup on the server. You may also have to set defaults for CUPS.

See this article to get an idea of what may be needed.
http://thismightbehelpful.blogspot.com/2008/09/remote-access-to-cups-web-interface.html

Hope this helps, as I am not sure this will actually answer your problem.


On 11/14/2013 1:16 AM, Sunil Agrawal wrote:
Hi,
I am using Calc (actually soffice) in a headless manner (using
—headless). I am running it on a server that doesn’t have X server and
communicating with soffice using JOD converter.

Generally it hasn’t been a problem, however when I export the
spreadsheet to PDF, wide spreadsheets get truncated and take multiple
pages, which is highly undesirable.

However, when I run the same program on my local dev machine, which
has X server running, the output PDF gets auto scaled to a certain
extent.

Can you please direct me how to get auto scaling on server that
doesn’t have X server running? When running in headless mode, what OS
setting are picked up by LibreOffice. What do I need to set them on my
server?

I have spent couple of days trying out different options, e.g. using
Xvfb on my server with different screen sizes, but to no avail.

Any help is appreciated.
TIA,

Sunil



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to