GetPrintCapabilities

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.

The IPrintTicketProvider::GetPrintCapabilities method must return a valid PrintCapabilities document. For a basic implementation, the document can be very simple however the print driver can't support any features in a Print Ticket that aren't exposed in the PrintCapabilities document. As you add print ticket support to your print driver, you'll need to return to this routine and add those features to the PrintCapabilities document.

The system doesn't provide any default PrintCapabilities document even for the features that the system provides through the DEVMODE-to-PrintTicket conversion. The print driver must create and return the corresponding PrintCapabilities document.