Print3DDevice Print3DDevice Print3DDevice Print3DDevice Class

Definition

Represents a 3D printer.

public : sealed class Print3DDevice : IPrint3DDevicepublic sealed class Print3DDevice : IPrint3DDevicePublic NotInheritable Class Print3DDevice Implements IPrint3DDevice// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.10240.0) Windows 10 (introduced v10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Devices.Printers.PrintersContract (introduced v1)

Remarks

Use the AQS string returned by GetDeviceSelector with the DeviceInformation APIs to find all 3D printers that are connected to the device. Once you have a DeviceInformation object for a 3D printer, you can use that object's Id property value as the deviceId parameter in FromIdAsync to create a Print3DDevice object.

Properties

PrintSchema PrintSchema PrintSchema PrintSchema

Gets the PrintSchema object for obtaining capabilities and print ticket information.

public : PrintSchema PrintSchema { get; }public PrintSchema PrintSchema { get; }Public ReadOnly Property PrintSchema As PrintSchema// You can use this property in JavaScript.
Value
PrintSchema PrintSchema PrintSchema PrintSchema

The PrintSchema object for obtaining capabilities and print ticket information.

Methods

FromIdAsync(String) FromIdAsync(String) FromIdAsync(String) FromIdAsync(String)

Creates a Print3DDevice object that represents a 3D printer connected to the device.

public : static IAsyncOperation<Print3DDevice> FromIdAsync(PlatForm::String deviceId)public static IAsyncOperation<Print3DDevice> FromIdAsync(String deviceId)Public Static Function FromIdAsync(deviceId As String) As IAsyncOperation( Of Print3DDevice )// You can use this method in JavaScript.
Parameters
deviceId
PlatForm::String String String String

The device ID of the 3D printer.

Returns

GetDeviceSelector() GetDeviceSelector() GetDeviceSelector() GetDeviceSelector()

Gets an Advanced Query Syntax (AQS) string that can be used to find all 3D printers that are connected to the device.

public : static PlatForm::String GetDeviceSelector()public static string GetDeviceSelector()Public Static Function GetDeviceSelector() As string// You can use this method in JavaScript.
Returns
PlatForm::String string string string

An AQS string that can be used to find all 3D printers connected to the device.