ConvertPrintTicketToDevMode overview

Important

We recommend that you use Microsoft's IPP inbox class driver, along with Print Support Apps (PSA), to customize the print experience in Windows 10 and 11 for printer device development.

For more information, see the Print support app design guide.

Unidrv and PScript5 print drivers fill in the public and private parts of the DEVMODEW structure that they support by using the information from the Print Ticket that was passed in the application's call to ConvertPrintTicketToDevMode. The IPrintOemPrintTicketProvider::ConvertPrintTicketToDevMode method is called for each print driver plug-in that was installed.

The following illustration shows the order of the calls to IPrintOemPrintTicketProvider::ConvertPrintTicketToDevMode when the driver calls ConvertPrintTicketToDevMode.

diagram illustrating the convertprinttickettodevmode calling sequence.