Share via


PrintWorkflowPrinterJob Class

Definition

Represents a printer job in the context of a print workflow app.

public ref class PrintWorkflowPrinterJob sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 851968)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PrintWorkflowPrinterJob final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 851968)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PrintWorkflowPrinterJob
Public NotInheritable Class PrintWorkflowPrinterJob
Inheritance
Object Platform::Object IInspectable PrintWorkflowPrinterJob
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, see Print support app design guide.

Properties

JobId

Gets the ID of the current print job as provided by the printer.

Printer

Gets the Internet Printing Protocol (IPP) printer device for the current printer job.

Methods

ConvertPrintTicketToJobAttributes(WorkflowPrintTicket, String)
GetJobAttributes(IIterable<String>)

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

GetJobAttributesAsBuffer(IIterable<String>)

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

GetJobPrintTicket()

Gets the XML PrintTicket document for the current print job. The PrintTicket document contains instructions on how the printer should set its various features for a printing task.

GetJobStatus()

Gets the status of the current printer job.

SetJobAttributes(IIterable<KeyValuePair<String,IppAttributeValue>>)

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

SetJobAttributesFromBuffer(IBuffer)

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

Applies to

See also