Just a thought.
What if LibreOffice(OpenSource) command line utility is to be used for the purpose!!!
Details of the solution is here Usage of LibreOffice command line utility for Doc to PDF conversion
I have spent good amount time for getting a proper solution. Hope it saves time of anyone. :)