Saturday, 2 February 2019

How to convert Word (doc) to PDF from Windows command line?


Anyone know how to convert word files (.doc) to PDF using the command line in Windows?


We were using the service of OpenOffice, but in documents that have many tables and images, it ends up ruining much formatting.



Answer



"winword.exe" "C:\My Files\doc1.doc" /mFilePrintDefault Provided you have quiet PDF printer as default.


Also try libreOffice offspring od OpenOffice.org. It is based of go-ooo which had no problems with OLE metrics in office.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...