ConvertDevModeToPrintTicket overview
Important
The modern print platform is Windows' preferred means of communicating with printers. 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 Modern print platform and the Print support app design guide.
Unidrv and PScript5 print drivers create the Print Ticket by using the elements from the public and private parts of the DEVMODEW structure that the drivers support. The IPrintTicketProvider::ConvertDevModeToPrintTicket method is called for each print driver plug-in that was installed.
The following illustration shows the order of the calls to IPrintOemPrintTicketProvider::ConvertDevModeToPrintTicket when the driver call ConvertDevModeToPrintTicket.