Functions Defined by Printer Interface DLLs

Printer interface DLLs export the functions listed in the following table.

Function Purpose

DllEntryPoint

Initial DLL entry point, typically called DLLMain (described in the Microsoft Windows SDK documentation).

DrvConvertDevMode

Converts the specified DEVMODEW structure from one version to another.

DrvDeviceCapabilities

Returns requested information about a printer's capabilities.

DrvDevicePropertySheets

Calls CPSUI to create property sheet pages that describe a printer's properties.

DrvDocumentEvent

(Optional) Allows the printer interface DLL to specify which events associated with printing a document it will handle.

DrvDriverEvent

(Optional) Allows the printer interface DLL to respond to notifications from the spooler that certain driver-specific events have occurred.

DrvDocumentPropertySheets

Calls CPSUI to create property sheet pages that describe a print document's properties.

DrvPrinterEvent

Allows the printer interface DLL to respond to notifications from the spooler that certain printer-specific events have occurred.

DrvQueryColorProfile

(Optional) Allows the printer interface DLL to specify an ICC profile to use for color management.

DrvQueryJobAttributes

(Optional) Allows the printer interface DLL to specify support for such capabilities as printing multiple document pages on a physical page ("N-up" printing), printing multiple copies of each page, and collating pages.

DevQueryPrintEx

Determines if a print job can be printed using the printer's current configuration.

DrvSplDeviceCaps

Returns requested information about a printer's capabilities.

DrvUpgradePrinter

(Optional) Updates a printer's registry settings when a new version of the driver is added to a system.


Send comments about this topic to Microsoft