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

How To: Render Print Job Data

· 52CE 我爱测

This topic describes how to render the program data to be printed.

This topic describes how to render the program data to be printed. This topic does not explain in detail about how to render specific graphics or text images. Instead, it describes how to manage the program data and render it as an XPS document, which it sends to a printer by using the XPS Print API.

Overview

Rendering print job data for printing involves taking the program-specific data, such as text, images, and formatting, and converting them into a format that is compatible with the destination printer. The program that sends the data to the printer must send it in the format that the printer driver requires.

Use the XPS Print API to send the data to the printer and it requires the data to be formatted as an XPS document. To produce the XPS document content that the XPS Print API needs, the sample program uses the XPS Document API.

If the program content is in a format that is not compatible with a printer, it will need to be rendered before it is sent to the printer. If the program uses the XPS Document API to manage its program content, the program content will be in a format that can be sent directly to the XPS Print API and will not require any additional rendering before you send it to the printer.

Related topics

XPS Document API

XPS Print API

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)

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

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