Command `libreoffice –headless –convert-to pdf test.docx –outdir /pdf` is not working [closed]

I would first of all try it with giving absolute paths to the command. I suspect that the libreoffice binary does not work — you have to locate the soffice binary and see if that works. Then, your –convert-to pdf is not sufficient. It needs to be: –convert-to pdf:writer_pdf_Export Be sure to follow exactly this … Read more