大网数据广告活动
打印与设备

Supporting PrintTicket Deltas

· 52CE 我爱测

Learn about supporting PrintTicket deltas. This topic isn't current. For the most current information, see the Print Schema Specification.

This topic is not current. For the most current information, see the Print Schema Specification.

The PrintTicket Provider Interface has methods that can be used to make incremental changes to an existing PrintTicket. The incremental PrintTicket changes can be specified in a partial PrintTicket that is known as a PrintTicket delta. A revised PrintTicket is created by merging a PrintTicket delta with an existing PrintTicket. See the forthcoming PrintTicket Provider Interface document for more information about methods involving PrintTicket deltas.

When a PrintTicket delta is processed, the following steps must be performed.

  1. Identify Feature or ParameterInit instances that are common to both the existing PrintTicket (the target PrintTicket) and the PrintTicket delta.

    • For each Feature common to both the target PrintTicket and the PrintTicket delta, replace the Feature in the target PrintTicket by the corresponding Feature in the PrintTicket delta.

    • For each ParameterInit common to both the target PrintTicket and the PrintTicket delta, replace the ParameterInit in the target PrintTicket by the corresponding ParameterInit in the PrintTicket delta.

  2. Copy all remaining Feature and ParameterInit instances in the PrintTicket delta to the target PrintTicket.

  3. If your conflict resolution algorithm allows priorities to be specified in the PrintTicket itself, you may choose to elevate the priorities of the Feature and ParameterInit instances named in the PrintTicket delta.

  4. Perform PrintTicket validation as described in PrintTicket Validation Checklist.

Related topics

Print Schema Specification

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。