PrintWorkflowPrinterJob Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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) |
Converts a WorkflowPrintTicket to Internet Printing Protocol (IPP) job attributes. |
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. |