Windows Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PrintTask.IsPrinterTargetEnabled | isPrinterTargetEnabled property

Gets or sets a value indicating whether the PrintTask supports printer targets.

Syntax


var isPrinterTargetEnabled = printTask.isPrinterTargetEnabled;
printTask.isPrinterTargetEnabled = isPrinterTargetEnabled;

Property value

Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]

True if the PrintTask supports the printer target.

Remarks

This property works together with Is3DManufacturingTargetEnabled to determine which devices are enumerated when the user extends the print charm. When IsPrinterTargetEnabled is true, the print charm displays print devices like 2D printers. When Is3DManufacturingTargetEnabled is true, the print charm displays 3D devices like 3D printers. When both IsPrinterTargetEnabled and Is3DManufacturingTargetEnabled are true, the print charm displays both 2D printers and 3D printers.

By default, IsPrinterTargetEnabled is true and Is3DManufacturingTargetEnabled is false. Windows Store apps that support 2D printing in Windows 8 are not required to make a change in Windows 8.1 to add this property.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Graphics.Printing
Windows::Graphics::Printing [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

Windows.Graphics.Printing
Windows::Graphics::Printing [C++]

Metadata

Windows.winmd

See also

PrintTask

 

 

Show:
© 2015 Microsoft