PdlPassthroughProvider.StartPrintJobWithPrintTicket 方法

定义

使用打印票证启动 PDL 直通打印作业。

public:
 virtual PdlPassthroughTarget ^ StartPrintJobWithPrintTicket(Platform::String ^ jobName, Platform::String ^ pdlContentType, IInputStream ^ printTicket, PageConfigurationSettings ^ pageConfigurationSettings) = StartPrintJobWithPrintTicket;
PdlPassthroughTarget StartPrintJobWithPrintTicket(winrt::hstring const& jobName, winrt::hstring const& pdlContentType, IInputStream const& printTicket, PageConfigurationSettings const& pageConfigurationSettings);
public PdlPassthroughTarget StartPrintJobWithPrintTicket(string jobName, string pdlContentType, IInputStream printTicket, PageConfigurationSettings pageConfigurationSettings);
function startPrintJobWithPrintTicket(jobName, pdlContentType, printTicket, pageConfigurationSettings)
Public Function StartPrintJobWithPrintTicket (jobName As String, pdlContentType As String, printTicket As IInputStream, pageConfigurationSettings As PageConfigurationSettings) As PdlPassthroughTarget

参数

jobName
String

Platform::String

winrt::hstring

作业名称。

pdlContentType
String

Platform::String

winrt::hstring

表示打印作业的 PDL 格式。

printTicket
IInputStream

包含打印作业选项的打印票证流。

pageConfigurationSettings
PageConfigurationSettings

指定需要从何处读取页面配置 (大小和方向) - 打印票证或 PDL 内容。 如果 pageConfigurationSettings 为 null,则将从打印票证读取所有字段。

返回

适用于