views:

48

answers:

1

I am a novice to Windows printer driver, and would appreciate any pointers on the following.

  • Enumerating as a printer (In the print menu, similar to print to PDF file)
  • Capturing the print job and encode it into a JPG file (say)

I am comfortable with JPG encoding, as I am thinking of using open source tools like ImageMagick. But I am not sure where to start the enumeration and printing stuff.

BTW, Is Microsoft WDM DDK available for free download?

+1  A: 

The Windows Driver Kit can be downloaded freely on MSDN.com

I'm no driver expert but have worked on Printer Port Monitors (see this StackOverflow question) to capture the output of standard printer drivers (Postscript) and convert them to PDF or TIF using Ghostscript (Ghostscript is available in an open source format, and can also output JPG) which is reasonably easy to do.

Ruddy