2

I've come across unoconv which should do the job but I get the following error:-

unoconv -f pdf /home/bill/GWL-letter.odt

unoconv: RuntimeException during import phase:
Office probably died. Unsupported URL </home/bill/GWL-letter.odt>: "from LoadEnv::initializeLoading"
~~

GWL-letter.odt opened in Office Writer and exported as pdf. No problems and the pdf file is good

: $ unoconv -f pdf /home/bill/GWL-letter.odt
~~
unoconv: RuntimeException during import phase:
Office probably died. Unsupported URL </home/bill/GWL-letter.odt>: "from LoadEnv::initializeLoading"

1 Answers1

2

Install libreoffice-writer if not already installed:

sudo apt-get install libreoffice-writer

Whether or not unoconv was installed with libreoffice, run it once so it can complete configuration.

K7AAY
  • 17,705