Friday, August 28, 2009

convert word doc into PDF using c# code.

convert word doc into PDF using c# code.


hi guys,
i'm having very terrible problem. I need to print a word doc into pdf.
for this i'm using gostscript to create a virtual printer (http://
www.stat.tamu.edu/~henrik/GSWriter/GSWriter.html). and using microsoft
c# code to call this printer and print the document into pdf (http://
support.microsoft.com/kb/322091).

i'm not able to make this C# code work. whenever i'm posting a
document to the printer, it is getting deleted from the print queue
(win32 exception code: 63).
i tried various options on ghostscript virtual printer and also tried
to modify the c# code but not able to do anything around.

if some one had done something like this before, i would appreciate if
you will share your experience. or someone has some better ideas to do
it other way, i would also welcome that as well.

plz guys do post your comments.

Lucky



View Full Details...............................

No comments:

Post a Comment