Print jobs are created by applications through calls to Microsoft® Win32® GDI functions. These function calls can be spooled as EMF data type records for later playback by the EMF print processor, or they can immediately render a printable image for each document page. Image rendering, whether performed immediately or during the playback of EMF records, is controlled by the GDI rendering engine. During the rendering operation, the GDI rendering engine calls the appropriate Windows® 2000 and later printer driver for assistance.
Windows 2000 and later printer drivers have the following responsibilities:
Windows 2000 and later printer drivers are made up of a set of printer driver components that divide a driver's drawing and user interface operations into separate DLLs.
While the purpose of this section is to explain how to write your own printer driver for Windows 2000 and later, it is important to keep in mind that the following three printer drivers are shipped with the operating system:
Microsoft Universal Printer Driver
Microsoft Postscript Printer Driver
These three drivers support most printing devices on the market today. You only need to write a printer driver if your printing device is not compatible with the appropriate Microsoft-supplied driver. Most new printers can be supported by simply adding a printer data file to one of these drivers. Devices that might require a new driver include those containing hardware drawing accelerators controlled by proprietary command sequences.