To use the document conversion plugins (Convert to PDF and Convert Document), OpenOffice must be installed and running on the server.
On Windows:
To start off and verify that your configuration is correct, run openoffice with its usual gui, using the following command:
[openoffice root]\program\soffice.exe -accept="socket,host=127.0.0.1,port=8100;urp"
Once OpenOffice has loaded, test it from a tersus application using one of the document conversion plugins.
Of-course, running OpenOffice as a server with gui is not recommended, especially in production environments, where a user will not be logged in.
To run OpenOffice as a server without gui, use the following command:
[openoffice root]\program\soffice.exe -accept="socket,host=127.0.0.1,port=8100;urp;" -headless -nofirststartwizard -nologo
These commands launch openoffice as a process with no gui. To stop the process kill it.
You can configure windows to autologin, and execute either commands (with/without gui) on startup.Alternatively, you can setup a service wheich loads the OpenOffice server, using the srvany tool provided in the Windows Resource Kit - see this page, for a good explanation (note that with OpenOffice 3, it seems that step 7 is no longer needed).
On Linux (Ubuntu):
Install OpenOffice Headless package
Run:
/opt/openoffice.org3/program/soffice -accept="socket,port=8100;urp" -headless -nofirststartwizard -nologo &
To run this command each time the Ubuntu starts:
echo "/opt/openoffice.org3/program/soffice -accept="socket,port=8100;urp" -headless -nofirststartwizard -nologo &" > /etc/init.d/OOheadless
chmod +x /etc/init.d/OOheadless
update-rc.d OOheadless defaults
To use the full functionality of this web site, JavaScript needs to be turned on.
For best results, use the Firefox browser..
Copyright © 2003-2017 - Tersus Software Ltd., All rights reserved. Terms of Use License Graphic design by EmaraDesign