Share via


IppPrintDevice Class

Definition

Represents a printer device that supports the Internet Printing Protocol (IPP).

public ref class IppPrintDevice sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 851968)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class IppPrintDevice final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 851968)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class IppPrintDevice final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 851968)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class IppPrintDevice
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 851968)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class IppPrintDevice
Public NotInheritable Class IppPrintDevice
Inheritance
Object Platform::Object IInspectable IppPrintDevice
Attributes

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Remarks

For more information about this class, see Print support app design guide.

Properties

CanModifyUserDefaultPrintTicket
DeviceKind
IsIppFaxOutPrinter
PrinterName

Gets the name of the printer device.

PrinterUri

Gets the URI of the printer device (for contacting the printer directly).

UserDefaultPrintTicket

Methods

FromId(String)

Creates an IppPrintDevice object from a printer device id.

FromPrinterName(String)

Creates an IppPrintDevice object from a printer name.

GetDeviceSelector()

Retrieves an Advanced Query Syntax (AQS) string for identifying Internet Printing Protocol (IPP) devices. You can pass that string to DeviceInformation.FindAllAsync in order to find devices.

GetMaxSupportedPdfSize()

Retrieves a value indicating the maximum supported PDF size in bytes.

GetMaxSupportedPdfVersion()

Retrieves a string indicating the maximum supported PDF version.

GetMaxSupportedPdlVersion(String)
GetPdlPassthroughProvider()

Retrieves a PdlPassthroughProvider object representing the pass-through provider for the Internet Printing Protocol (IPP) printer. If pass-through isn't supported, then the method fails; call IppPrintDevice.IsPdlPassthroughSupported first.

GetPrinterAttributes(IIterable<String>)

Gets attributes for the current printer as a map of Internet Printing Protocol (IPP) attribute name and value pairs.

GetPrinterAttributesAsBuffer(IIterable<String>)

Gets attributes for the current printer as specified by a buffer that contains a printer attributes group from a serialized Internet Printing Protocol (IPP) response.

IsIppPrinter(String)

Determines whether the string argument is the name of an Internet Printing Protocol (IPP) printer.

IsPdlPassthroughSupported(String)

Determines whether the Internet Printing Protocol (IPP) printer device supports page description language (PDL) pass-through for a given PDL format.

RefreshPrintDeviceCapabilities()
SetPrinterAttributes(IIterable<KeyValuePair<String,IppAttributeValue>>)

Sets attributes for the current printer as specified by the specified map of Internet Printing Protocol (IPP) attribute name and value pairs.

SetPrinterAttributesFromBuffer(IBuffer)

Sets attributes for the current printer as specified by the specified buffer that contains a serialized Internet Printing Protocol (IPP) attribute group.

Applies to

See also