Share via


PrintWorkflowPdlModificationRequestedEventArgs.CreateJobOnPrinterWithAttributesBuffer Method

Definition

Overloads

CreateJobOnPrinterWithAttributesBuffer(IBuffer, String)

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

CreateJobOnPrinterWithAttributesBuffer(IBuffer, String, IBuffer, PrintWorkflowAttributesMergePolicy, PrintWorkflowAttributesMergePolicy)

CreateJobOnPrinterWithAttributesBuffer(IBuffer, String)

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

public:
 virtual PrintWorkflowPdlTargetStream ^ CreateJobOnPrinterWithAttributesBuffer(IBuffer ^ jobAttributesBuffer, Platform::String ^ targetContentType) = CreateJobOnPrinterWithAttributesBuffer;
PrintWorkflowPdlTargetStream CreateJobOnPrinterWithAttributesBuffer(IBuffer const& jobAttributesBuffer, winrt::hstring const& targetContentType);
public PrintWorkflowPdlTargetStream CreateJobOnPrinterWithAttributesBuffer(IBuffer jobAttributesBuffer, string targetContentType);
function createJobOnPrinterWithAttributesBuffer(jobAttributesBuffer, targetContentType)
Public Function CreateJobOnPrinterWithAttributesBuffer (jobAttributesBuffer As IBuffer, targetContentType As String) As PrintWorkflowPdlTargetStream

Parameters

jobAttributesBuffer
IBuffer

A serialized Internet Printing Protocol (IPP) job attribute group, 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

CreateJobOnPrinterWithAttributesBuffer(IBuffer, String, IBuffer, PrintWorkflowAttributesMergePolicy, PrintWorkflowAttributesMergePolicy)

public:
 virtual PrintWorkflowPdlTargetStream ^ CreateJobOnPrinterWithAttributesBuffer(IBuffer ^ jobAttributesBuffer, Platform::String ^ targetContentType, IBuffer ^ operationAttributesBuffer, PrintWorkflowAttributesMergePolicy jobAttributesMergePolicy, PrintWorkflowAttributesMergePolicy operationAttributesMergePolicy) = CreateJobOnPrinterWithAttributesBuffer;
PrintWorkflowPdlTargetStream CreateJobOnPrinterWithAttributesBuffer(IBuffer const& jobAttributesBuffer, winrt::hstring const& targetContentType, IBuffer const& operationAttributesBuffer, PrintWorkflowAttributesMergePolicy const& jobAttributesMergePolicy, PrintWorkflowAttributesMergePolicy const& operationAttributesMergePolicy);
public PrintWorkflowPdlTargetStream CreateJobOnPrinterWithAttributesBuffer(IBuffer jobAttributesBuffer, string targetContentType, IBuffer operationAttributesBuffer, PrintWorkflowAttributesMergePolicy jobAttributesMergePolicy, PrintWorkflowAttributesMergePolicy operationAttributesMergePolicy);
function createJobOnPrinterWithAttributesBuffer(jobAttributesBuffer, targetContentType, operationAttributesBuffer, jobAttributesMergePolicy, operationAttributesMergePolicy)
Public Function CreateJobOnPrinterWithAttributesBuffer (jobAttributesBuffer As IBuffer, targetContentType As String, operationAttributesBuffer As IBuffer, jobAttributesMergePolicy As PrintWorkflowAttributesMergePolicy, operationAttributesMergePolicy As PrintWorkflowAttributesMergePolicy) As PrintWorkflowPdlTargetStream

Parameters

jobAttributesBuffer
IBuffer

A serialized Internet Printing Protocol (IPP) job attribute group, as per the definition in the IPP specification.

targetContentType
String

Platform::String

winrt::hstring

The target content type for the job.

operationAttributesBuffer
IBuffer

A serialized Internet Printing Protocol (IPP) operation attribute group, as per the definition in the IPP specification.

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