Improvements in XPSDrv
This topic provides information about updates that have been made to the XPSDrv rendering architecture.
The XPS Print API and/or the print filter pipeline will convert seamlessly between Microsoft Xml Paper Specification 1.0 (MS XPS), and OpenXPS (ECMA-388). Unless otherwise specified, v4 print drivers default to consuming MS XPS. Using the manifest directive XpsFormat, drivers may choose to support one or both of the available XPS formats. For more information about OpenXPS support, see OpenXPS Support in Windows.
XPS Rasterization Service Improvements
The XPS Rasterization Service has been improved in Windows 8 to make use of the Graphics Processing Unit (GPU) to provide faster XPS rasterization. These performance improvements are available on Windows 8 systems with GPUs that use the Windows Display Driver Model (WDDM) 1.2. XPS rendering filters do not require any modification to take advantage of this improvement, and it will be available for both v3 and v4 print drivers.
The XPS Rasterization Service can also provide rasterization in several pixel formats, including the following new, high precision formats. As a result, print drivers that use the XPS Rasterization Service can now target color precision at 8-bits, 16-bits and 32-bits per channel. For more information on pixel formats, see Native Pixel Formats Overview. These new pixel formats are supported by the XPSRaterizationFactory1::CreateRasterizer1 method. The following table shows the XPS Rasterization Service Pixel Formats.
|Value||Channel Count||Bits per channel||Bits per pixel||Storage type|
The IPrintCoreHelperUni2 interface was introduced in Windows 8 to support the retrieval of command strings from GPD files. The interface is identical to IPrintCoreHelperUni, except for the additional GetNamedCommand method.
Microsoft Xml Paper Specification 1.0
Native Pixel Formats Overview
OpenXPS Support in Windows
V4 Printer Driver Rendering Architecture