Defines the settings of a print job.
Assembly: ReachFramework (in ReachFramework.dll)
XMLNS for XAML: Not mapped to an xmlns.
A object is an easy-to-work-with representation of a certain type of XML document called a PrintTicket document. The latter is a set of instructions telling a printer how to set its various features (such as duplexing, collating, and stapling). For example, to instruct the printer to turn on its stapler and staple print jobs in the upper left corner, the document would have a <JobStapleAllDocuments … > element that specifies StapleTopLeft. The element is, in turn, represented by the Stapling property of the object. The PrintTicket document must conform to the Print Schema.
The class enables your application to configure the printer's features without having to engage in any direct writing of XML Stream objects.
All of the most popular features of home and business file and photo printers are represented by properties of the class. But the Print Schema defines many more, less common, features and it can be extended to handle features of specialty printing devices. So, although the and PrintCapabilities classes cannot be inherited, you can extend the Print Schema to recognize print device features that are not accounted for in the or PrintCapabilities classes. For more information see How to: Extend the Print Schema and Create New Print System Classes.
Note When the object is created with the constructor that takes a PrintTicket document (as a Stream) parameter, that entire document is stored in a non-public field in the object, including the XML elements within it that express less common features that are not represented by any of the public properties of the class. In fact, if the driver that produced the PrintTicket document is using a private extension of the Print Schema, that privately defined markup is also stored as part of the non-public PrintTicket document.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.