PrintWorkflowPrinterJob.ConvertPrintTicketToJobAttributes Method
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.
Converts a WorkflowPrintTicket to Internet Printing Protocol (IPP) job attributes.
public:
virtual IMap<Platform::String ^, IppAttributeValue ^> ^ ConvertPrintTicketToJobAttributes(WorkflowPrintTicket ^ printTicket, Platform::String ^ targetPdlFormat) = ConvertPrintTicketToJobAttributes;
IMap<winrt::hstring, IppAttributeValue const&> ConvertPrintTicketToJobAttributes(WorkflowPrintTicket const& printTicket, winrt::hstring const& targetPdlFormat);
public IDictionary<string,IppAttributeValue> ConvertPrintTicketToJobAttributes(WorkflowPrintTicket printTicket, string targetPdlFormat);
function convertPrintTicketToJobAttributes(printTicket, targetPdlFormat)
Public Function ConvertPrintTicketToJobAttributes (printTicket As WorkflowPrintTicket, targetPdlFormat As String) As IDictionary(Of String, IppAttributeValue)
Parameters
- printTicket
- WorkflowPrintTicket
The WorkflowPrintTicket to be converted.
- targetPdlFormat
-
String
Platform::String
winrt::hstring
A string specifying the target PDL format
Returns
A dictionary where the keys are attribute name strings and the values are IppAttributeValue objects.
Windows requirements
Device family |
Windows 11, version 24H2 (introduced in 10.0.26100.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v19.0)
|