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.

2
  • Do you get anything on stdout/stderr?
    – o11c
    Jul 1, 2015 at 0:32
  • no, It exits normally.
    – pingu
    Jul 1, 2015 at 6:07

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.