How To: Render Print Job Data
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