This documentation is archived and is not being maintained.

PrintTicket::Duplexing Property

Gets or sets a value indicating what kind of two-sided printing, if any, the printer uses for the print job.

Namespace:  System.Printing
Assembly:  ReachFramework (in ReachFramework.dll)

public:
property Nullable<Duplexing> Duplexing {
	Nullable<Duplexing> get ();
	void set (Nullable<Duplexing> value);
}

Property Value

Type: System::Nullable<Duplexing>
A Duplexing value indicating what sort of two-sided printing, if any, the printer uses for the print job.

ExceptionCondition
ArgumentOutOfRangeException

Calling code has attempted to set the property to a value that is not in the Duplexing enumeration.

A nullptr value for this property means that this feature setting is not specified. Also, when the value is nullptr, the XML versions of the PrintTicket (see SaveTo and GetXmlStream) will not contain any markup for this feature.

This property corresponds to the Print Schema's JobDuplexAllDocumentsContiguously keyword, not the DocumentDuplex keyword.

You can test for the options that the printer supports by using the DuplexingCapability property.

The following example shows how to use this property while merging two print tickets.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: