How to Convert MS word (97-2000) document to PDF document by printing on "Source Forge - PDF Creator" through server side asp
Posted on 2009-04-12
I have a requirement where i need to convert a word (97-2000) document to a PDF document through asp. I have sourceforge-PDFCreator installed on the server and try printing the word document to a PDF file. there are 2 issues in the process.
(i) I am not able to supply file as a parameter.
I tried using the following ObjDocument.PrintOut(,,,"drive\filename")
This saves the file but i am not able to open this file.. it is empty and giving an error on opening.
(ii) If i use
ObjDocument.PrintOut() - This gives me an openable document, but askes for file name.
Please suggest how do i use and get the desired results.