When a print queue is opened (by using the OpenPrinter function), the print driver is loaded and the following methods of the IPrintTicketProvider interface are called in this order:
The methods of the IPrintTicketProvider interface in a Unidrv or PScript5 print driver call the IPrintOemPrintTicketProvider methods of the each plug-in hosted by the driver. The following illustration and list show how these calls are made when OpenPrinter is called.
OpenPrinter calling sequence