1

I am able to convert most of the word documents(doc & docx) to PDF on windows.

"soffice.exe" --headless --convert-to pdf --outdir "C:\Ok"  "C:\Ok\Test_Original.doc"

But a few documents are not getting converted and I see the following intermediate file generated

.~lock.Test_Original.pdf#

No errors or warnings.Not sure how I can get around this issue. Any suggestions or alternate solutions to LibreOffice. I intend to convert docs to pdf on the server.

pingu
  • 645
  • 3
  • 11
  • 21

0 Answers0