First time here? Check out the FAQ!
asked 2012-10-19 23:38:17 +0200pablo
How can I use LibreOffice as a service to convert docs to pdf? I know that there is the headless option but how can I talk to it? Is it possible to use HTTP to talk with the daemon or maybe a CLI? Can the server handle multiple requests at the same time or do I need to implement a queue in my app?
answered 2013-02-01 04:19:01 +0200qubit
It sounds like what you really want is some kind of service that you can install on a server.
To think out loud for a moment...
# apt-get install document-handling-server Document Handling Server 0.1 Starting up DHS running on port 2005 (HTTP)
Users on the same subnet could print to the DHS, maybe upload files to it
scp spreadsheet-to-convert.xls email@example.com:/var/dhs/incoming/
..and then download the results a while later (although how would the document converter service know what output format you want, if it's not PDF?...hmm)
scp firstname.lastname@example.org:/var/dhs/outgoing/spreadsheet-to-convert.pdf .
Anyhow, I don't know of anything like that, currently. But it's an interesting idea.
LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!
Asked: 2012-10-19 23:38:17 +0200
Seen: 244 times
Last updated: Feb 01