

Not recommended: Sending an XPS spool file directly to the spooler. Instead, you should use IPrintDocumentPackageTarget to submit the print job as an XPS OM to avoid performance degradation. If you do this, the resulting conversion from one flavor of XPS to another as a stream can be very expensive for performance. For example, do not send an OpenXPS stream directly to the StartXPSPrintJob method. Not recommended: Sending an OpenXPS stream from an application directly to the XPS Print API is not a recommended technique. Note There are no plans to provide support for this scenario. The results of sending an OpenXPS file directly to the spooler are undefined and will likely cause the print job to fail.XPS spool files sent directly to the spooler will be treated as MSXPS and handled accordingly.Doing this, will produce the following functionality issues:

Unsupported: Sending OpenXPS files directly to the spooler (bypassing the XPS Print API) is an unsupported scenario. Some legacy functionality is either not supported, or provides a downgraded experience when used with OpenXPS. If needed, users can print from the XPS Viewer to MXDW in order to convert formats. Likewise, the Microsoft XPS Viewer and the Reader app in Windows 8 can open both XPS formats. The Microsoft XPS Document Writer (MXDW) has been updated to allow MXDW to output either Microsoft XPS or OpenXPS from any Windows desktop application. The format that is presented to the filters, depends on the format that is supported by the driver, or the format that is provided by the application. Either Microsoft XPS or OpenXPS can be presented to the filters in the print filter pipeline, using the existing stream and object model (OM) interfaces – no new interfaces are required by drivers to support OpenXPS. Windows also provides APIs to query the print driver, so that the application can provide compatible elements and avoid any additional conversion within the print system.Ī print driver can use its manifest to indicate whether it supports Microsoft XPS, Open XPS, or both formats. The Windows print path has been developed to ensure that the submitted XPS format matches a supported format of the targeted print driver, and will convert formats as needed. For OpenXPS support that is relevant to Windows application developers, see App Support for OpenXPS Printing. This topic focuses on support for OpenXPS via the v4 driver model.

Windows 8 provides full support for OpenXPS, side-by-side with continued support for the existing Microsoft XPS format. OpenXPS is the Open XML Paper Specification format for documents, and it’s based on the Ecma International standard specification.įor the most up to date information about this specification, see Open XML Paper Specification.
