ODT to PDF converter

I am trying to get the MAIN_ODT_AS_PDF to work and having no luck.

ODT to PDF convert fail (option MAIN_ODT_AS_PDF is libreoffice, command was soffice --headless -env:UserInstallation=file:‘Z:/Xampp/htdocs/dolibarr/documents/users/temp/odtaspdf’ --convert-to pdf --outdir ‘Z:/Xampp/htdocs/dolibarr/documents/facture/(PROV8)’ ‘Z:/Xampp/htdocs/dolibarr/documents/facture/(PROV8)/(PROV8)_OakDraft.odt’, retval=1) :

If anyone has some good instructions that would be great.