PrintWorkflowPdlModificationRequestedEventArgs.CreateJobOnPrinterWithAttributesBuffer 方法

定义

重载

CreateJobOnPrinterWithAttributesBuffer(IBuffer, String)

使用指定缓冲区中的初始作业属性在打印机上创建作业。

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

CreateJobOnPrinterWithAttributesBuffer(IBuffer, String)

使用指定缓冲区中的初始作业属性在打印机上创建作业。

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

参数

jobAttributesBuffer
IBuffer

根据 IPP 规范中的定义,序列化的 Internet 打印协议 (IPP) 作业属性组。

targetContentType
String

Platform::String

winrt::hstring

作业的目标内容类型。

返回

作业的目标流。

适用于

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

参数

jobAttributesBuffer
IBuffer

根据 IPP 规范中的定义,序列化的 Internet 打印协议 (IPP) 作业属性组。

targetContentType
String

Platform::String

winrt::hstring

作业的目标内容类型。

operationAttributesBuffer
IBuffer

根据 IPP 规范中的定义,序列化的 Internet 打印协议 (IPP) 操作属性组。

jobAttributesMergePolicy
PrintWorkflowAttributesMergePolicy

PrintWorkflowAttributesMergePolicy 枚举的成员,指定 PSA 提供的作业属性与 PrintTicket 属性的合并方式。

operationAttributesMergePolicy
PrintWorkflowAttributesMergePolicy

PrintWorkflowAttributesMergePolicy 枚举的成员,该枚举指定如何将 PSA 提供的操作属性与 PrintTicket 属性合并。

返回

作业的目标流。

Windows 要求

设备系列
Windows 11 Insider Preview (在 10.0.23504.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v15.0 中引入)

适用于