Generated by GPT-5-mini| XPS (XML Paper Specification) | |
|---|---|
| Name | XML Paper Specification |
| Caption | Sample XPS document rendering |
| Developer | Microsoft |
| Released | 2006 |
| Genre | Page description language, document format |
| Extended from | XML, Open XML |
XPS (XML Paper Specification) is a page description language and fixed-layout document format developed by Microsoft to represent paginated, print-ready documents. It is designed for device-independent rendering, archival fidelity, and integration with Windows printing and display subsystems. XPS emphasizes precise layout, color management, and scalable vector graphics to preserve document appearance across Microsoft Windows, Windows Presentation Foundation, Internet Explorer, Microsoft Office, and other software ecosystems.
XPS encapsulates document content, layout, color, fonts, and metadata in a ZIP-based container derived from concepts in Open XML Paper Specification and similar to packaging used by Office Open XML and OpenDocument Format. The format stores resources such as TrueType, OpenType fonts, bitmap images, vector paths, and embedded XML markup, enabling consistent reproduction on devices ranging from Inkjet printers and Laser printers to display systems like DirectX-accelerated renderers. XPS files were intended to serve roles akin to Portable Document Format files in scenarios involving document exchange, archiving, and printing workflows for organizations including Microsoft Corporation partners and enterprise customers.
The specification originated at Microsoft in the mid-2000s alongside development of Windows Vista and Windows Presentation Foundation to provide a modern alternative to legacy print path technologies such as GDI+ and Win32. Initial public documentation and SDKs appeared during the same period as collaborations with hardware vendors like HP Inc. and Canon Inc. for printer support. Over time, XPS intersected with standards discussions involving organizations like ISO and commercial formats championed by firms including Adobe Systems. Platform shifts from Windows Vista to subsequent releases and changing industry adoption influenced the trajectory of XPS in enterprise and government procurement contexts such as those involving United States Department of Defense, European Union procurement, and archival initiatives at institutions like Library of Congress.
An XPS package is a ZIP container following packaging conventions similar to Open Packaging Conventions, comprising fixed documents, resource files, and a relationships model. Core components include FixedPages described in XML with namespaces related to XML Paper Specification schema definitions, resource dictionaries for images and fonts, and print tickets compatible with Windows Print Spooler technologies. Graphic primitives reference vector constructs comparable to those in Scalable Vector Graphics implementations and coordinate systems used by Direct2D and GDI+. Metadata elements may interoperate with standards like Dublin Core for archival metadata and with authentication mechanisms found in Active Directory-backed enterprise environments.
XPS supports color management via ICC profiles, device-independent color spaces used by Adobe RGB and sRGB, and advanced rendering including transparency, gradients, and bitmap interpolation comparable to PDF features. Text layout uses glyph runs referencing embedded OpenType tables, enabling support for complex scripts used in locales under United Nations linguistic standards and scripts that rely on Unicode. Vector graphics capabilities parallel those in PostScript-derived ecosystems, while tiling and print ticket integration allow precise control for print production use by vendors like Xerox and Ricoh.
Native support for XPS has been provided in Windows Vista, Windows 7, and later Windows components, with viewers integrated into Internet Explorer and standalone viewers distributed by Microsoft Download Center. Third-party applications and libraries from companies such as Adobe Systems, Foxit Software, SumatraPDF contributors, and open-source projects on platforms like GitHub have implemented XPS rendering and conversion tools. Printer drivers from Canon Inc., Epson, Brother Industries, and HP Inc. expose XPS spool paths, and print management solutions in enterprises like IBM and Oracle Corporation have offered conversion and archival workflows incorporating XPS.
XPS supports signing and package-level digital signatures using cryptographic standards promoted by bodies like National Institute of Standards and Technology and leveraging X.509 certificates issued by certificate authorities such as DigiCert and Entrust. DRM integration has been explored through Microsoft technologies comparable to Active Directory Rights Management Services to control printing and access, intersecting with enterprise policies enacted by organizations including Citigroup and Bank of America for document confidentiality. Threat vectors addressed in security literature from CERT include malformed XML payloads and embedded fonts, prompting mitigation guidance consistent with best practices recommended by Microsoft Security Response Center.
Compared with Portable Document Format, XPS emphasizes XML-based markup and integration with Windows Presentation Foundation rather than Acrobat-centric workflows favored by Adobe Systems. In relation to PostScript, XPS uses retained-mode, device-independent vector representations rather than PostScript's procedural programming model used by Adobe PostScript interpreters and RIPs in high-end printing from vendors like Heidelberg. Compared to SVG, XPS is optimized for paginated, fixed-layout documents and print tickets rather than web-native vector graphics supported by World Wide Web Consortium. Standards and adoption contrast with PDF/A archival profiles used by institutions such as UNESCO and corporate recordkeeping in SAP SE deployments.
Use cases for XPS have included print-ready document exchange in enterprise production environments, archival storage workflows at cultural heritage organizations like British Library, and internal document circulation in corporations such as Microsoft Corporation and General Electric. Industry sectors from healthcare providers governed by Health Insurance Portability and Accountability Act compliance to legal firms in jurisdictions influenced by European Court of Justice case law have evaluated XPS relative to alternatives for evidentiary integrity and long-term preservation. Conversion utilities and viewer integrations remain available for cross-platform needs in contexts involving Linux Foundation projects, virtualization platforms from VMware, and cross-cloud document services offered by Amazon Web Services and Microsoft Azure.
Category:Document file formats