Skip to content

XPS · 5 XPS files

Sample XPS Document Files

Download free, validated XPS (.xps) test files for printer drivers, converters, and document viewers. Clean fixed-layout samples built to ECMA-388 standards.

5 XPS files 3.0 KB – 3.7 KB Fixed-Layout · ECMA-388

Direct Downloads

Available XPS Sample Documents

5 XPS files

3.4 KB

Commercial Business Invoice

Type:Commercial Invoice

XPS Download XPS

3.7 KB

Multi-Page Corporate Summary

Type:Corporate Summary (2 Pages)

XPS Download XPS

3.0 KB

Vector CAD Blueprints

Type:Vector CAD Blueprints

XPS Download XPS

3.1 KB

Landscape Financial Sheet

Type:Landscape Financial Sheet

XPS Download XPS

3.1 KB

Precision Layout & Press Marks

Type:Precision Layout & Press Marks

XPS Download XPS

XPS Technical Reference

Architecture & Testing Guide for XPS Documents

XML Paper Specification (XPS) is an open, fixed-layout electronic document format and page description language created by Microsoft and standardized internationally as ECMA-388. Built on Open Packaging Conventions (OPC) and an XML-based vector graphics language derived from Windows Presentation Foundation (WPF), XPS serves as an enterprise-grade digital paper format and high-fidelity print spooling pipeline.

History & Evolution: The "Metro" Architecture and ECMA-388

XPS was developed by Microsoft under the internal code name "Metro" and first publicly released in November 2006 alongside Windows Vista and the .NET Framework 3.0. Microsoft designed XPS to resolve longstanding fidelity limitations in the legacy Windows Graphics Device Interface (GDI) print subsystem, replacing intermediate EMF spooling files with a modern, hardware-independent page description language.

In June 2009, Ecma International standardized the specification as ECMA-388 (Open XML Paper Specification, or OpenXPS). The standard established an open, vendor-neutral file format for fixed-page documents, providing royalty-free licensing to ensure independent developers and printer manufacturers could construct compliant XPS readers, drivers, and conversion tools without proprietary constraints.

With Windows 8 and subsequent editions, Microsoft updated its default document writer to output OpenXPS (.oxps), while preserving full backward compatibility with legacy XPS (.xps). While Microsoft shifted the standalone XPS Viewer to an optional Windows feature in Windows 10 (version 1803), XPS remains widely utilized across high-end commercial printers, prepress proofing systems, virtual driver pipelines, and enterprise archiving systems.

Package Architecture: Open Packaging Conventions (OPC) & Markup

Under the hood, an XPS document is an OPC-compliant ZIP container structured into distinct XML markup streams and resource folders:

Package Manifest ([Content_Types].xml & _rels/.rels)

Declares the MIME types for all package components (FixedDocumentSequence, FixedDocument, FixedPage) and establishes package-level root relationships pointing to the entry document sequence.

Document Hierarchy (FixedDocumentSequence & FixedDocument)

A FixedDocumentSequence (.fdseq) coordinates one or more FixedDocument (.fdoc) components, which in turn enumerate the ordered sequence of individual FixedPage (.fpage) parts.

FixedPage XML Markup

Each page defines a canvas with explicit Width and Height dimensions in 1/96th-inch units. Layout elements are strictly positioned without dynamic reflow, using Path elements for vector paths and Glyphs elements for font rendering.

Vector Path & Geometry Definitions

Vector art is described via mini-language path geometry strings (Move, Line, Cubic Bezier, Arc) executed with high-precision anti-aliasing and fill rules (EvenOdd or NonZero).

Font Glyphs & Embedded Resources

Text is rendered through <Glyphs> elements referencing subsetted OpenType or TrueType font streams stored within the Resources folder, ensuring identical typography across any operating system.

Software & Platform Compatibility Matrix

XPS files are supported across a wide variety of native Windows subsystems, open-source document viewers, and cross-platform conversion tools:

Software / PlatformStatus
Microsoft Windows (Built-in Spooler) Native XPS print architecture on Windows Vista, 7, 8, 10, and 11 with Microsoft XPS Document Writer virtual printer.Native Print Path
Windows XPS Viewer Pre-installed on legacy Windows; available via "Optional Features" in modern Windows 10 (1803+) and Windows 11.Native / Optional Feature
SumatraPDF & MuPDF Full, high-speed rendering of both legacy XPS (.xps) and OpenXPS (.oxps) with vector fidelity and font rendering.Native Cross-Platform Support
Linux Document Viewers (Evince, Okular) Standard GNOME and KDE document viewers render XPS files using the libgxps rendering library backend.Supported via libgxps
Ghostscript & pdf2xps Converters High-throughput conversion between XPS and PDF ISO 32000 for enterprise document processing pipelines.Full Pipeline Conversion

QA Testing & Ingestion Validation Checklist

When testing file upload handlers, document converters, or print processing engines with XPS files, verify the following quality criteria:

  • Confirm the file upload validator accepts the application/vnd.ms-xpsdocument MIME type and .xps extension.
  • Validate ZIP container integrity and ensure required OPC parts ([Content_Types].xml, .rels, .fdseq) are present.
  • Inspect multi-page rendering to ensure FixedPage elements sequence correctly without page drift or clipped margins.
  • Test vector path scaling and line stroke precision across varying display zoom levels (100% to 800%).
  • Verify bidirectional XPS-to-PDF conversion fidelity, checking that font glyphs, tables, and colors match the original.
  • Check landscape versus portrait orientation parsing to verify dimensions (1056x816 vs 816x1056) are honored.

XPS Technical Specifications

Standard
ECMA-388 / OpenXPS
Container Format
ZIP (Open Packaging Conventions)
Primary MIME Type
application/vnd.ms-xpsdocument
OpenXPS MIME Type
application/oxps
Standard Dimensions
816 × 1056 pt (Letter @ 96 DPI)
Page Description Markup
XML / WPF XAML subset
Typography Engine
OpenType / TrueType Glyphs
Vector Rendering
Anti-aliased Path geometry

Frequently Asked Questions

What is an XPS file and what is it used for?+

An XPS (XML Paper Specification) file is a fixed-layout document format developed by Microsoft as an open alternative to PDF. It preserves the exact layout, fonts, vector geometry, and colors of a document, ensuring it looks identical on any screen and prints with pixel-perfect accuracy on physical printers.

What is the difference between XPS and OpenXPS (OXPS)?+

XPS is the original specification released by Microsoft with Windows Vista in 2006 (using the namespace http://schemas.microsoft.com/xps/2005/06). OpenXPS (ECMA-388) is the formal international standard finalized in 2009 by Ecma International (using the namespace http://schemas.openxps.org/oxps/v1.0). Both use OPC ZIP containers, and modern viewers support both variants.

How do I open and view XPS files on modern Windows 10 and Windows 11?+

On Windows 10 and 11, the legacy XPS Viewer can be enabled in seconds via Settings > Apps > Optional features > Add a feature > XPS Viewer. Alternatively, lightweight third-party tools such as SumatraPDF or MuPDF open both .xps and .oxps files natively.

Can I convert XPS files to PDF format?+

Yes. Many utilities and enterprise pipelines convert XPS directly to PDF. On Windows, you can open an XPS file and print it using "Microsoft Print to PDF". In server and developer pipelines, tools like Ghostscript, MuPDF (mutool), or Python libraries convert XPS to standard ISO 32000 PDF seamlessly.

Are these sample XPS files safe for local and CI testing?+

Yes. All XPS test files provided on TestingFile are strictly safe, clean fixtures created with standard XML markup and vector paths. They contain no macros, external network references, or sensitive information, making them ideal for automated CI/CD pipelines, viewer test suites, and file upload validation.