| Open XML Paper Specification (OpenXPS) | |
|---|---|
| Filename extension | .oxps,[1] .xps |
| Internet media type | application/oxps, application/vnd.ms-xpsdocument |
| Developed by | Microsoft,Ecma International |
| Initial release | October 2006; 19 years ago (2006-10) |
| Latest release | First Edition June 16, 2009; 16 years ago (2009-06-16) |
| Type of format | Page description language,document file format |
| Contained by | Open Packaging Conventions |
| Extended from | ZIP,XML,XAML |
| Standard | ECMA-388 |
| Website | ecma-international |
Open XML Paper Specification (also referred to asOpenXPS) is anopen specification for apage description language and a fixed-document format.Microsoft developed it as the XML Paper Specification (XPS). In June 2009,Ecma International adopted it as international standardECMA-388.[2]
It is anXML-based (more preciselyXAML-based) specification, based on a new print path (print processing data representation and data flow) and acolor-managedvector document format that supportsdevice independence andresolution independence. InWindows 8.xps was replaced with the ECMA standard.oxps format which is not natively supported in older Windows versions.[1]
OpenXPS was introduced by Microsoft as an alternative toPortable Document Format (PDF). However, PDF remained the standard choice, and support for and user familiarity with XPS files is limited. It has been described as neglected technology, which may cause difficulties to recipients of documents in a format they are not familiar with.[3]
The XPS document format consists of structured XML markup that defines the layout of a document and the visual appearance of each page, along with rendering rules for distributing, archiving, rendering, processing and printing the documents. Notably, the markup language for XPS is a subset ofXAML, allowing it to incorporatevector elements in documents.
An XPS file is aZIP archive using theOpen Packaging Conventions, containing the files which make up the document. These include an XML markup file for each page, text,embedded fonts, raster images, 2Dvector graphics, as well as thedigital rights management information. The contents of an XPS file can be examined by opening it in an application which supports ZIP files.
There are two incompatible XPS formats available. The original document writer printed to.xps inWindows 7 andWindows Vista. Beginning withWindows 8, the document writer defaults to the.oxps format.[1]
Microsoft provides two free converters. XpsConverter converts documents between.xps and.oxps format,[4] while OxpsConverter converts documents from.oxps to.xps format.[5]
XPS specifies a set of document layout functionality for paged, printable documents.[6] It also has support for features such ascolor gradients,transparencies,CMYKcolor spaces,printer calibration, multiple-ink systems and printschemas.[7] XPS supports theWindows Color Systemcolor management technology for color conversion precision across devices andhigher dynamic range. It includes a softwareraster image processor (RIP) (downloadable separately).[8] The print subsystem supportsnamed colors, simplifying color definition for images transmitted to printers supporting those colors.
XPS supportsHD Photo images natively for raster images.[9] The XPS format used in the spool file represents advanced graphics effects such as 3D images, glow effects, and gradients as Windows Presentation Foundation primitives, which printer drivers could offload theirrasterization to the printer in order to reduce computational load if the printer is capable of rasterizing those primitives.[10]
LikePDF, XPS is a page description language using fixed-layout document format designed to preserve document fidelity,[11] providing device-independent document appearance. PDF uses Carousel Object Syntax (COS syntax) to form a random access database of objects that may be created fromPostScript or generated directly from applications, whereas XPS is based on XML.[12] Both formats arecompressed, albeit using different methods. The filterpipeline architecture of XPS is also similar to the one used in printers supporting the PostScript page description language. PDF includes dynamic capabilities purposely not supported by the XPS format.[13][failed verification] There are many resources for converting from XPS to PDF and some for converting from PDF to XPS. A method often suggested is to open an XPS file in a program with printing capability, and then "print" to avirtual PDF printer such as Microsoft Print to PDF,[14] with a similar procedure to convert from PDF to XPS.
| File format | OpenXPS | |
|---|---|---|
| Original author | Microsoft | Adobe Systems |
| Standardized by | Ecma International[15] | ISO |
| First public release date | 2006[16] | 1993[17] |
| Latest stable version | Ecma International Standard ECMA-388 — Open XML Paper Specification — 1st Edition | ISO 32000-2:2020 — Document management — Portable document format — Part 2: PDF 2.0 |
| Latest standardised version | Ecma International Standard ECMA-388 — Open XML Paper Specification — 1st Edition | ISO 32000-2:2020 — Document management — Portable document format — Part 2: PDF 2.0 |
| Language type | Markup language (XML)[18][19] | PDF is a random access binary file format comprising a database of objects that may be created fromPostScript or generated directly by an application. |
| XML schema representation | XML Schema (W3C) (XSD) andRELAX NG (ISO/IEC 19757-2)[2] | N/A |
| Compression format | Container:ZIP[18][19][20] (Although flate(should be Deflate) is mentioned in third-party document, no specific compression method is mandated for the container.)[21] Payload: JPEG, PNG, TIFF, JPEG XR are compressed based on their file types.[22] | LZW for both text and images; JPEG,JPEG 2000,JBIG2, CCITTGroup 4 compression, andRLE for images[23] |
| Container structure | Open Packaging Conventions (ISO/IEC 29500-2:2008)[18][19] | |
| 3D graphics content | X3D (ISO/IEC 19775/19776)[2] | U3D (Standard ECMA-363),[24][25]PRC (Product Representation Compact, ISO 14739-1:2014),[26] STEP AP 242 (ISO 10303-242),[27] glTF[28] |
| Full file content compression | Yes[26] | Compression of collections of objects[29] |
| Fast page by page download from web servers | Yes[26] | Yes[26] |
| Multiple documents in one file | Yes[26] | Yes[30] |
| Document bookmarks and outline | Yes[26][31] | Yes[26][32] |
| Reflowable | No[33] | With PDF tagging[34] |
| Hyperlinks | Yes[26][35][36] | Yes[26][32] |
| Page thumbnails | Yes[26][35] | Yes[26][37] |
| Annotations | Yes[35] | Yes[26][32] |
| Image transparencies | Yes[26] | Yes[26] |
| Gradient fills | Yes[26][36] | Yes[26] |
| Alpha channel in color definitions | Yes[26] | Yes[26] |
| Support for multiple transparency blending modes | ? | Yes[29] |
| Change tracking | No[26] | No[26] |
| Password protection | Yes[26] | Yes[26][32] |
| Digital signatures | Yes[19][20][26][35] | Yes[32][38] |
| JPEG (RGB and CMYK) (ISO/IEC 10918-1) | Yes[20][26] | Yes[38] |
| JPEG 2000 (ISO/IEC 15444-1) | No[26] | Yes[38] |
| JBIG2 forbi-level images | No[26] | Yes[29] |
| PNG | Yes[26] | Yes[26] |
| TIFF (RGB and CMYK) | Yes[26] | No[26] |
| JPEG XR (ISO/IEC 29199-2:2009) | Yes[18] | No[26] |
| Gray support | Yes[26] | Yes[26] |
| RGB support | Yes[26] | Yes[26] |
| CMYK support | Yes[26] | Yes[26] |
| Spot color support | Yes[26] | Yes[26] |
| Filename extensions | oxps[2] | pdf[39] |
| Internet media types | application/oxps[2] | application/pdf[40] |
| Standard licensing | Non-free content, downloaded free-of-charge from Ecma |
|
| File format | OpenXPS |
Windows Vista and later supports both creating and viewing XPS.[42] In addition, the printing architecture of Windows Vista uses XPS as the spooler format.[11]
Apps can create XPS documents by printing to XPS Document Writer, avirtual printer that comes bundled with Windows. These files open in XPS Viewer, an optional component that comes with Windows Vista and later. In Windows Vista, XPS is hosted withinInternet Explorer, but in subsequent versions, it is a standalone app. Both versions supportdigital rights management anddigital signatures.Windows 8 also comes with an app called "Reader", which reads XPS and PDF files.[43][failed verification]
The.NET Framework 3.0 installer forWindows XP also adds the IE-hosted XPS Viewer, as well as XPS Document Writer. Since then, Microsoft released the XPS Essentials Pack for Windows XP,Server 2003, and Vista,[43][44] which includes the standalone viewer, anIFilter plug-in that helpsWindows Desktop Search index the contents of XPS files, and another plug-in forWindows Explorer to help generate thumbnails for XPS files.[43] Installing this pack enablesoperating systems prior to Windows Vista to use the XPS print spooler[45] instead of the olderGDI-based spooler.[46] The XPS print spooler can produce better quality prints for printers that directly consume the XPS format.[47]
| Name | Platform | Function |
|---|---|---|
| Evince | Linux | A document viewer for multiple document format; can display XPS documents thanks to libgxps.[48] |
| MuPDF | Linux,Windows,Android,iOS | A lightweight PDF, XPS and OpenXPS viewer; licensed under the terms ofAGPL v3 |
| Harlequin RIP | Windows,Mac OS,Linux,ThreadX | Renders XPS files for print or display; used in desktop printers, digital production presses,prepress and software[49] |
| Okular | Linux,FreeBSD,Windows,Solaris | The document viewer of theKDE project; can display XPS documents[50] |
| STDU Viewer | Microsoft Windows | Can display XPS documents as well as other electronic document formats. Other STDU applications may handle organizing/browsing, conversion, and extraction.[51] |
| Sumatra PDF | Windows | Can display XPS documents, among other formats, since version 1.5, thanks toMuPDF[52] |
| Xara Designer Pro | Windows | Vector graphics app with XPS support |
| XPS Annotator | Windows | Standalone XPS viewer which candigitally sign andannotate XPS documents, and convert XPS documents to common picture formats.[53] |
| XPS Viewer | Windows | Free app from Software Imaging Ltd. for viewing XPS files[54] |
XPS had the support of printing companies such asKonica Minolta,Sharp,[55]Canon,Epson,Hewlett-Packard,[56] andXerox[57] and software and hardware companies such asCSR (formerly Zoran),[58] andGlobal Graphics.[59] Native XPS printers were introduced by Canon, Konica Minolta,Toshiba, and Xerox.[60] Devices at theCertified for Windows level ofWindows Logo conformance certification were required to have XPS drivers for printing since 1 June 2007.[61]
Microsoft released XPS under aroyalty-free patent license called theCommunity Promise for XPS,[62][63] allowing users to create implementations of the specification that read, write and render XPS files as long as they included a notice within the source that technologies implemented may be encumbered by patents held by Microsoft. Microsoft also required that organizations "engaged in the business of developing (i) scanners that output XPS Documents; (ii) printers that consume XPS Documents to produce hard-copy output; or (iii) print driver or raster image software products or components thereof that convert XPS Documents for the purpose of producing hard-copy output, [...] will not sue Microsoft or any of its licensees under the XML Paper Specification or customers for infringement of any XML Paper Specification Derived Patents (as defined below) on account of any manufacture, use, sale, offer for sale, importation or other disposition or promotion of any XML Paper Specification implementations." The specification itself was released under a royalty-free copyright license, allowing its free distribution.[64]
On September 13, 2011,Monotype Imaging announced it had licensed its XPS-to-PCL 6 and XPS-to-PostScript vector conversion filters to Microsoft for use in the next version of Windows.[65][66]
In 2003,Global Graphics was chosen byMicrosoft to provide consultancy and proof of concept development services on XPS and worked with the Windows development teams on the specification and reference architecture for the new format.[67] Microsoft submitted the XPS specification toEcma International.[68] In June 2007 Ecma International Technical Committee 46 (TC46) was set up to develop a standard based on the Open XML Paper Specification (OpenXPS).[69]
At the 97th General Assembly held inBudapest, June 16, 2009, Ecma International approved Open XML Paper Specification (OpenXPS) as an Ecma standard (ECMA-388).[70] TC46's members included:
This sectionneeds expansion. You can help byadding to it.(October 2024) |
XPS files can be infected with malware.[71][72]
The Reflow feature depends on tags in order to redraw the PDF page to fit the existing window width, but reflows content withon only a single page at a time.