Bewerken

Delen via


Print Ticket Processing in the Print Driver

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.

The validated settings in a PrintTicket object are used to configure the print processing that the XPSDrv print driver performs. The components of the print driver, therefore, must read and interpret the settings in the Print Tickets before the driver performs any processing so the driver can process the document according to these settings.

XPSDrv print drivers perform this processing in the print processing filters of the print driver.

GDI-based print drivers continue to use the DEVMODEW structure for the settings because of the compatibility support that is built into the Windows Vista print subsystem. For more information about this support, see Print Ticket Compatibility with Win 32 Applications.

For more information about implementing Print Ticket processing in the print driver, see Print Ticket Support in the XPSDrv Render Module.