Print Ticket
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.
A PrintTicket document is an XML document that describes how a document or document part is to be printed. A PrintTicket document can be associated with a print job, a document, or a page within a document. The PrintTicket document can be added to an XPS Document as a PrintTicket part and saved with document contents in a file. A PrintTicket document can also be added to a document as the application spools the document for printing.
Conversion functions enable you to Print Tickets use in Microsoft Win32 applications. Functions are available to convert Print Tickets to DEVMODEW structures and DEVMODEW structures back to Print Tickets.
This section contains the following topics:
Print Ticket Compatibility with Win 32 Applications