Share via


PrintWorkflowPdlModificationRequestedEventArgs.CreateJobOnPrinterWithAttributes Method

Definition

Overloads

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

Creates a job on the printer with initial job attributes from the specified list.

CreateJobOnPrinterWithAttributes(IIterable<KeyValuePair<String, IppAttributeValue>>, String, IIterable<KeyValuePair<String,IppAttributeValue>>, PrintWorkflowAttributesMergePolicy, PrintWorkflowAttributesMergePolicy)

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

Creates a job on the printer with initial job attributes from the specified list.

public:
 virtual PrintWorkflowPdlTargetStream ^ CreateJobOnPrinterWithAttributes(IIterable<IKeyValuePair<Platform::String ^, IppAttributeValue ^> ^> ^ jobAttributes, Platform::String ^ targetContentType) = CreateJobOnPrinterWithAttributes;
PrintWorkflowPdlTargetStream CreateJobOnPrinterWithAttributes(IIterable<IKeyValuePair<winrt::hstring, IppAttributeValue const&>> const& jobAttributes, winrt::hstring const& targetContentType);
public PrintWorkflowPdlTargetStream CreateJobOnPrinterWithAttributes(IEnumerable<KeyValuePair<string,IppAttributeValue>> jobAttributes, string targetContentType);
function createJobOnPrinterWithAttributes(jobAttributes, targetContentType)
Public Function CreateJobOnPrinterWithAttributes (jobAttributes As IEnumerable(Of KeyValuePair(Of String, IppAttributeValue)), targetContentType As String) As PrintWorkflowPdlTargetStream

Parameters

jobAttributes

IIterable<IKeyValuePair<String,IppAttributeValue>>

IEnumerable<KeyValuePair<String,IppAttributeValue>>

IIterable<IKeyValuePair<Platform::String,IppAttributeValue>>

IIterable<IKeyValuePair<winrt::hstring,IppAttributeValue>>

A list of Internet Printing Protocol (IPP) job attributes, as per the definition in the IPP specification.

targetContentType
String

Platform::String

winrt::hstring

The target content type for the job.

Returns

The target stream for the job.

Applies to

CreateJobOnPrinterWithAttributes(IIterable<KeyValuePair<String, IppAttributeValue>>, String, IIterable<KeyValuePair<String,IppAttributeValue>>, PrintWorkflowAttributesMergePolicy, PrintWorkflowAttributesMergePolicy)

public:
 virtual PrintWorkflowPdlTargetStream ^ CreateJobOnPrinterWithAttributes(IIterable<IKeyValuePair<Platform::String ^, IppAttributeValue ^> ^> ^ jobAttributes, Platform::String ^ targetContentType, IIterable<IKeyValuePair<Platform::String ^, IppAttributeValue ^> ^> ^ operationAttributes, PrintWorkflowAttributesMergePolicy jobAttributesMergePolicy, PrintWorkflowAttributesMergePolicy operationAttributesMergePolicy) = CreateJobOnPrinterWithAttributes;
PrintWorkflowPdlTargetStream CreateJobOnPrinterWithAttributes(IIterable<IKeyValuePair<winrt::hstring, IppAttributeValue const&>> const& jobAttributes, winrt::hstring const& targetContentType, IIterable<IKeyValuePair<winrt::hstring, IppAttributeValue const&>> const& operationAttributes, PrintWorkflowAttributesMergePolicy const& jobAttributesMergePolicy, PrintWorkflowAttributesMergePolicy const& operationAttributesMergePolicy);
public PrintWorkflowPdlTargetStream CreateJobOnPrinterWithAttributes(IEnumerable<KeyValuePair<string,IppAttributeValue>> jobAttributes, string targetContentType, IEnumerable<KeyValuePair<string,IppAttributeValue>> operationAttributes, PrintWorkflowAttributesMergePolicy jobAttributesMergePolicy, PrintWorkflowAttributesMergePolicy operationAttributesMergePolicy);
function createJobOnPrinterWithAttributes(jobAttributes, targetContentType, operationAttributes, jobAttributesMergePolicy, operationAttributesMergePolicy)
Public Function CreateJobOnPrinterWithAttributes (jobAttributes As IEnumerable(Of KeyValuePair(Of String, IppAttributeValue)), targetContentType As String, operationAttributes As IEnumerable(Of KeyValuePair(Of String, IppAttributeValue)), jobAttributesMergePolicy As PrintWorkflowAttributesMergePolicy, operationAttributesMergePolicy As PrintWorkflowAttributesMergePolicy) As PrintWorkflowPdlTargetStream

Parameters

jobAttributes

IIterable<IKeyValuePair<String,IppAttributeValue>>

IEnumerable<KeyValuePair<String,IppAttributeValue>>

IIterable<IKeyValuePair<Platform::String,IppAttributeValue>>

IIterable<IKeyValuePair<winrt::hstring,IppAttributeValue>>

A list of Internet Printing Protocol (IPP) job attributes, as per the definition in the IPP specification.

targetContentType
String

Platform::String

winrt::hstring

The target content type for the job.

operationAttributes

IIterable<IKeyValuePair<String,IppAttributeValue>>

IEnumerable<KeyValuePair<String,IppAttributeValue>>

IIterable<IKeyValuePair<Platform::String,IppAttributeValue>>

IIterable<IKeyValuePair<winrt::hstring,IppAttributeValue>>

A collection operation job attributes.

jobAttributesMergePolicy
PrintWorkflowAttributesMergePolicy

A member of the PrintWorkflowAttributesMergePolicy enumeration specifying how PSA-provided job attributes are merged with PrintTicket attributes.

operationAttributesMergePolicy
PrintWorkflowAttributesMergePolicy

A member of the PrintWorkflowAttributesMergePolicy enumeration specifying how PSA-provided operation attributes are merged with PrintTicket attributes.

Returns

The target stream for the job.

Windows requirements

Device family
Windows 11 Insider Preview (introduced in 10.0.23504.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v15.0)

Applies to