In some versions you need to use libreoffice instead of soffice. And sometimes you need to move --headless to after --convert-to although in other cases you can omit it. I believe you can do the same with OpenOffice
In some versions you need to use libreoffice instead of soffice. And sometimes you need to move --headless to after --convert-to although in other cases you can omit it. I believe you can do the same with OpenOffice