XPS Files from Industrial Devices: SumatraPDF Opens What PDF Editors Can't
Recently, while working on device data collection, I ran into a tricky problem: the report files exported by an electronic tensile testing machine were in .xps format. At first I double-clicked them out of habit, and the system either did nothing or popped up an unfamiliar app store page. Trying to open them with common PDF editors also failed. After a lot of fiddling, I found that SumatraPDF can handle them easily. So I'll take this opportunity to sort out what XPS is and how to view it.
What exactly is XPS
XPS stands for XML Paper Specification, a fixed-layout electronic document format developed by Microsoft. Its design goal is very similar to PDF: the layout is identical to the original document regardless of which device opens or prints it, and the recipient does not need to have the original software that created the document.
On the technical side, XPS has a few noteworthy characteristics. It uses XML to describe page content, and its physical structure is actually a ZIP archive that organizes document parts according to the OPC (Open Packaging Conventions) spec. Microsoft had high hopes for XPS, integrating it into Windows Vista and later systems as a trump card to compete with Adobe PDF. As long as you select the "Microsoft XPS Document Writer" virtual printer in any program that supports printing, you can generate XPS files without buying additional software.
However, there is always a gap between ideal and reality. Although XPS has some design advantages in printing paths and digital rights management, PDF's ecosystem moat is too strong, and XPS has never managed to shake its dominance. Today it appears mostly in specific devices or corporate intranet environments, like the electronic tensile testing machine I encountered, whose report export module generates XPS by default.
Why regular PDF software can't open it
This is the confusion many people have when they first encounter XPS. Although XPS and PDF overlap heavily in purpose, they are completely different formats. PDF's underlying structure is not XML, while XPS is, from top to bottom, an XML package. Therefore, most PDF editors (including Adobe Acrobat, Foxit, etc.) don't include a built-in XPS parsing engine. Double-clicking and failing to open is normal, not a sign of a corrupted file.
Viewing methods that work (tested)
Option 1: SumatraPDF (most recommended)
This is the tool that finally solved my problem, and it's the lightest option. SumatraPDF is an open-source, free Windows reader. It's small, and natively supports PDF, EPUB, MOBI, CHM, and XPS/OXPS formats. It doesn't need additional plugins or runtime libraries. After downloading the installer, you can open XPS files directly and they render correctly; flipping through pages, zooming, and printing all work fine. For users who only occasionally need to view equipment reports, this is the most hassle-free option.
Download link: https://www.sumatrapdfreader.org/downloadafter
[image]
Option 2: Windows' built-in XPS Viewer
If you're on Windows 10 or Windows 11, the system actually provides an official XPS Viewer, but Microsoft hides it in "Optional Features" and it isn't installed by default. Using Windows 11 as an example: go to Settings → System → Optional Features, click "View features," search for "XPS Viewer," and install it. After installation, double-clicking an XPS file will open it with the official tool. This suits users who don't want to install third-party software and have a newer system version.
[image]
A brief summary
XPS is Microsoft's attempt in the fixed-layout document field. Technically it has some highlights, but it never managed to knock PDF off its perch in the ecosystem. When you encounter it in industrial scenarios like device data collection, don't panic: SumatraPDF is the first choice for local viewing, and the official viewer in Windows Optional Features is a backup. I'm recording this pitfall process in hopes of helping others who also get stuck with .xps files.