The printer interface driver can optionally implement the following functions:
DrvDocumentEvent
Allows the printer interface driver to hook certain printer management calls.
DrvUpgradePrinter
Upgrades a printer’s registry device settings.