Need help on virtual printer driver

Hi, I am currently trying to develop a virtual printer driver for my project. The virtual printer driver can save file in pdf or emf format and the pdf file should be sent to another printer device. I have tried to read the examples from DDK but could not understand the source code..Could anyone help me here coz im reaching my due date..
[339 byte] By [pietired] at [2007-11-20 1:33:58]
# 1 Re: Need help on virtual printer driver
Dear Friend

There are two types of drivers one is univerasal driver and
another is the PostScript Printer Drivers.

since you have create PDF'S you have to use the PostScript PrinterDriver

You can get the sample from WINDDK.

When the user executes Print command from any Application
The data can be captured by implementing the WritePrinter Function.

The IPrintOemPS2::WritePrinter method, if supported, enables a rendering plug-in to capture all output data generated by a Postscript driver. If this method is not supported, the output data would otherwise be sent to the spooler in a call to the spooler's WritePrinter API (described in the Platform SDK documentation).

regards
pradish
pradish at 2007-11-10 3:54:14 >
# 2 Re: Need help on virtual printer driver
thanks 4 the reply..but i still do not know where to start..could u guide me where to start and which samples to use??
regards
pietired at 2007-11-10 3:55:14 >
# 3 Re: Need help on virtual printer driver
hi,

i have developed a virtual printer driver which saves the pages in emf format and then send them to the printer installed on your machine.

You can preview the pages, apply changes e.g. 2-up, 4-up, 6-up and 8-up printing. add watermark and change the format to bmp and save them. this shows the list of all printer drivers installed on your computer and you can select the one you want to print from.

it also comes with installer. The printer driver is developed by customising unidrv. i also have full documentation for this.

let me know if this is the one you are looking for. email me on javz_1@hotmail.co.uk

thanks
vpd10 at 2007-11-10 3:56:12 >