Hi all,

I am trying to print, without user interaction, a PDF file to the Microsoft Office Document Image Writer. If use System.Drawing,Printing.PrintDocument, I'm able to set the destination file but when it gets to printing the file, I can't since it has to know how to render the PDF file. Now, I tried using the print command in the command prompt but when I want to specify the Microsoft Office Document Image Writer it says it can't initiliaze the printer. Can anybody give me a hand on this one I want to do it either way.

For those who don't know the print command do the following:

  • Go to Start
  • Click on Run
  • Type cmd if you are using XP
  • Type print in the command line

Thanks in advance,