Add print ticket support to monolithic print drivers

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.

For a monolithic print driver to provide Print Ticket support and support the Print Ticket and Print Capabilities Technologies, it must implement the IPrintTicketProvider interface and also provide the necessary IClassFactory interface support for the COM-style calling methods used by the print driver. At a minimum, the driver must support the methods of the IPrintTicketProvider interface that are called during the OpenPrinter call in the sequence shown below:

  1. GetSupportedVersions

  2. BindPrinter

  3. QueryDeviceNamespace

To complete the support for this interface, the print driver must support the rest of the methods of the IPrintTicketProvider interface:

GetPrintCapabilities

ConvertDevModeToPrintTicket

ConvertPrintTicketToDevMode

ValidatePrintTicket