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"
libreoffice
will do). It happened to me once, just one run and then unoconv started to work. – Eduardo Trápani Oct 30 '19 at 14:57