Open XML Paper Specification

From Wikipedia, the free encyclopedia
  (Redirected from XML Paper Specification)
Jump to navigation Jump to search
Open XML Paper Specification (OpenXPS)
XPSIcon.png
Filename extension
.oxps,[1] .xps
Internet media type
application/oxps, application/vnd.ms-xpsdocument
Developed byMicrosoft, Ecma International
Initial releaseOctober 2006
Latest release
First Edition
(June 16, 2009)
Type of formatPage description language, document file format
Contained byOpen Packaging Conventions
Extended fromZIP, XML, XAML
StandardECMA-388
Websitewww.ecma-international.org/publications/standards/Ecma-388.htm

Open XML Paper Specification (also referred to as OpenXPS) is an open specification for a page 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 standard ECMA-388.[2]

It is an XML-based (more precisely XAML-based) specification, based on a new print path (print processing data representation and data flow) and a color-managed vector document format that supports device independence and resolution independence. In Windows 8 .xps was replaced with the ECMA standard .oxps format which is not natively supported in older Windows versions.[1]

Format[edit]

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 of XAML, allowing it to incorporate vector elements in documents.

An XPS file is a ZIP archive using the Open Packaging Conventions, containing the files which make up the document. These include an XML markup file for each page, text, embedded fonts, raster images, 2D vector graphics, as well as the digital 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 in Windows 7 and Windows Vista. Beginning with Windows 8, the document writer defaults to the .oxps format.[1]

Microsoft provides two free converters. XpsConverter converts documents between .xps and .oxps format,[3] while OxpsConverter converts documents from .oxps to .xps format.[4]

Features[edit]

XPS specifies a set of document layout functionality for paged, printable documents. It also has support for features such as color gradients, transparencies, CMYK color spaces, printer calibration, multiple-ink systems and print schemas. XPS supports the Windows Color System color management technology for color conversion precision across devices and higher dynamic range. It includes a software raster image processor (RIP) (downloadable separately).[5] The print subsystem supports named colors, simplifying color definition for images transmitted to printers supporting those colors.

XPS supports HD Photo images natively for raster images.[6] 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 their rasterization to the printer in order to reduce computational load if the printer is capable of rasterizing those primitives.[citation needed]

Similarities with PDF and PostScript[edit]

Like Adobe Inc.'s PDF, XPS is a fixed-layout document format designed to preserve document fidelity,[7] providing device-independent document appearance. PDF is a database of objects that may be created from PostScript or generated directly from applications, whereas XPS is based on XML. Both formats are compressed, albeit using different methods. The filter pipeline 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.[8]

[20]
Comparison between OXPS and PDF
File format OpenXPS PDF
Original author Microsoft Adobe Systems
Standardized by Ecma International[9] ISO
First public release date 2006[10] 1993[11]
Latest stable version Ecma International Standard ECMA-388 — Open XML Paper Specification — 1st Edition ISO 32000-1:2008 — Document management — Portable document format — Part 1: PDF 1.7
Latest standardised version Ecma International Standard ECMA-388 — Open XML Paper Specification — 1st Edition ISO 32000-2:2017 — Document management — Portable document format — Part 2: PDF 2.0
Language type Markup language (XML)[12][13] PDF is a database of objects that may be created from PostScript or generated directly by an application.
XML schema representation XML Schema (W3C) (XSD) and RELAX NG (ISO/IEC 19757-2)[14] N/A
Compression format ZIP[12][13][15] LZW for both text and images; JPEG, JPEG 2000, and RLE for images only[16]
Container structure Open Packaging Conventions (ISO/IEC 29500-2:2008)[12][13]
3D graphic content X3D (ISO/IEC 19775/19776)[17] U3D (Standard ECMA-363),[18][19] PRC (Product Representation Compact, ISO 14739-1:2014)
Full file content compression Yes[20] Compression of collections of objects[21]
Fast page by page download from web servers Yes[20] Yes[20]
Multiple documents in one file Yes[20] Yes[22]
Document bookmarks and outline Yes[20][23] Yes[20][24]
Reflowable No[25] With PDF tagging[26]
Hyperlinks Yes[20][27][28] Yes[20][24]
Page thumbnails Yes[20][27] Yes[20][29]
Annotations Yes[27] Yes[20][24]
Image transparencies Yes[20] Yes[20]
Gradient fills Yes[20][28] Yes[20]
Alpha channel in color definitions Yes[20] Yes[20]
Support for multiple transparency blending modes ? Yes[21]
Change tracking No[20] No[20]
Password protection Yes[20] Yes[20][24]
Digital signatures Yes[13][15][20][27] Yes[24][30]
JPEG (RGB and CMYK) (ISO/IEC 10918-1) Yes[15][20] Yes[30]
JPEG 2000 (ISO/IEC 15444-1) No[20] Yes[30]
JBIG2 for bi-level images No[20] Yes[21]
PNG Yes[20] Yes[20]
TIFF (RGB and CMYK) Yes[20] No[20]
JPEG XR (ISO/IEC 29199-2:2009) Yes[12] No[20]
Gray support Yes[20] Yes[20]
RGB support Yes[20] Yes[20]
CMYK support Yes[20] Yes[20]
Spot color support Yes[20] Yes[20]
Filename extensions oxps[17] pdf[31]
Internet media types application/oxps[17] application/pdf[32]
Standard licensing Non-free content, downloaded free-of-charge from Ecma
File format OpenXPS PDF

Viewing and creating XPS documents[edit]

Windows Vista and later supports both creating and viewing XPS.[33] In addition, the printing architecture of Windows Vista uses XPS as the spooler format.[7]

Apps can create XPS documents by printing to XPS Document Writer, a virtual 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 within Internet Explorer, but in subsequent versions, it is a standalone app. Both versions support digital rights management and digital signatures. Windows 8 also comes with an app called "Reader", which reads XPS and PDF files.[34]

The .NET Framework 3.0 installer for Windows 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,[35][36] which includes the standalone viewer, an IFilter plug-in that helps Windows Desktop Search index the contents of XPS files, and another plug-in for Windows Explorer to help generate thumbnails for XPS files.[35] Installing this pack enables operating systems prior to Windows Vista to use the XPS print spooler[37] instead of the older GDI-based spooler.[38] The XPS print spooler can produce better quality prints for printers that directly consume the XPS format.[39]

Third-party software[edit]

Name Platform Function
Evince Linux A document viewer for multiple document format; can display XPS documents thanks to libgxps.[40]
MuPDF Linux, Windows, Android, iOS A lightweight PDF, XPS and OpenXPS viewer; licensed under the terms of AGPL 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[41]
Okular Linux, FreeBSD, Windows, Solaris The document viewer of the KDE project; can display XPS documents[42]
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. [43]
Sumatra PDF Windows Can display XPS documents, among other formats, since version 1.5, thanks to MuPDF[44]
Xara Designer Pro Windows Vector graphics app with XPS support
XPS Annotator Windows Standalone XPS viewer which can digitally sign and annotate XPS documents, and convert XPS documents to common picture formats.[45]
XPS Viewer Windows Free app from Software Imaging Ltd. for viewing XPS files[46]

Hardware[edit]

XPS had the support of printing companies such as Konica Minolta, Sharp,[47] Canon, Epson, Hewlett-Packard,[48] and Xerox[49] and software and hardware companies such as CSR (formerly Zoran),[50] and Global Graphics.[51] Native XPS printers were introduced by Canon, Konica Minolta, Toshiba, and Xerox.[52] Devices at the Certified for Windows level of Windows Logo conformance certification were required to have XPS drivers for printing since 1 June 2007.[53]

Licensing[edit]

Microsoft released XPS under a royalty-free patent license called the Community Promise for XPS,[54][55] 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.[56]

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.[57][58]

History and standardization[edit]

In 2003, Global Graphics was chosen by Microsoft 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.[59] Microsoft submitted the XPS specification to Ecma International.[60] In June 2007 Ecma International Technical Committee 46 (TC46) was set up to develop a standard based on the Open XML Paper Specification (OpenXPS).[61]

At the 97th General Assembly held in Budapest, June 16, 2009, Ecma International approved Open XML Paper Specification (OpenXPS) as an Ecma standard (ECMA-388).[62] TC46's members included:

See also[edit]

References[edit]

  1. ^ a b c Prince, Mitch. "XPS and OXPS file support in Windows 7 and Windows 8". Mitch Prince's Blog. Microsoft. Archived from the original on 16 December 2012. Retrieved 3 December 2012.
  2. ^ http://www.ecma-international.org/publications/standards/Ecma-388.htm
  3. ^ "XpsConverter". Windows Hardware Developer. Microsoft. 20 August 2017. Retrieved 26 December 2020.
  4. ^ "You cannot open an .oxps file in Windows 7 or in Windows Server 2008 R2".
  5. ^ "Reference Raster Image Processor (RIP)". Microsoft.com. 2007-01-09. Retrieved 2009-12-10.
  6. ^ "HD Photo information on Microsoft Photography team blog". Windows Live Photo & Video Blog. Microsoft. 12 Mar 2007. Archived from the original on 5 Mar 2016.
  7. ^ a b Foley, Mary Jo (2005-04-25). "Microsoft Readies New Document Printing Specification". Microsoft-watch.com. Archived from the original on 2013-01-28. Retrieved 2009-12-10.
  8. ^ "Comparison of PDF, XPS and ODF by an ISV providing PDF solutions". Amyuni.com. Retrieved 2009-12-10.
  9. ^ "XPS format passes first standardisation test | printweek.com | Latest Print Industry News, Jobs, Features, Product Reviews, Used Printing and Packaging Machinery". Archived from the original on 2007-12-24. Retrieved 2009-07-11.
  10. ^ "XML Paper Specification". Archived from the original on 2009-08-25. Retrieved 2009-07-11.
  11. ^ All About Adobe PDF - Webopedia.com
  12. ^ a b c d "Archived copy" (PDF). Archived from the original (PDF) on 2010-07-05. Retrieved 2009-07-06.CS1 maint: archived copy as title (link)
  13. ^ a b c d XPS: XML Paper Specification
  14. ^ "Standard ECMA-388: Open XML Paper Specification (OpenXPS®)". ecma-international.org. Ecma International. June 2009.
  15. ^ a b c xml paper specification News and Other Resources | ZDNet
  16. ^ [PDF Reference, Sixth edition, http://www.adobe.com/devnet/acrobat/pdfs/pdf_reference_1-7.pdf], p. 39
  17. ^ a b c http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-388.pdf
  18. ^ Acrobat 3D Developer Center | Adobe Acrobat 3D Developer Center
  19. ^ Ferris, Sara (2005). "U3D format debuts in Acrobat 7". CADalyst.
  20. ^ a b c d e f g h i j k l m n o p q r s t u v w x y z aa ab ac ad ae af ag ah ai aj ak al am Amiouny, Dany. "PDF or XPS: Choose the Right Document Format for your Applications". White Paper. Retrieved 15 October 2012.
  21. ^ a b c http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51502 ISO 32000-1:2008
  22. ^ A9 PDF Binders[permanent dead link]
  23. ^ "Archived copy". Archived from the original on 2013-01-31. Retrieved 2009-07-15.CS1 maint: archived copy as title (link)
  24. ^ a b c d e PDF Intro
  25. ^ An Introduction to Windows Presentation Foundation
  26. ^ Web accessibility: web standards and ... - Google Books
  27. ^ a b c d XPS Annotator | XPSDev
  28. ^ a b Microsoft Adds XPS In Office 12 To Fight Adobe - InformationWeek
  29. ^ http://eprints.nottingham.ac.uk/219/1/meckler94.pdf
  30. ^ a b c https://www.blackhat.com/presentations/bh-europe-08/Filiol/Presentation/bh-eu-08-filiol.pdf
  31. ^ "explaining PostScript". Archived from the original on 2009-03-01. Retrieved 2009-07-11.
  32. ^ "The application/pdf Media Type". IETF. March 2017. Retrieved 2020-04-12.
  33. ^ "XPS Documents in Windows Vista". Microsoft.com. Retrieved 2009-12-10.
  34. ^ "View and Generate XPS". Microsoft. Archived from the original on 2009-12-14. Retrieved 2020-02-14.
  35. ^ a b "View and Generate XPS". Microsoft. Archived from the original on 2009-12-14. Retrieved 2020-02-14.
  36. ^ "Download details: XPS Essentials Pack Version 1.0". Microsoft XML Paper Specification Essentials Pack.
  37. ^ "Microsoft XML Paper Specification Essentials Pack Overview". Microsoft.com. 2010-02-12.
  38. ^ "Benefits to print enhancements in Windows Vista". Microsoft.com. 2007-12-17.
  39. ^ "XPSDrv Filter Pipeline: Implementation and Best Practices".
  40. ^ "Apps/Evince - GNOME Wiki!".
  41. ^ "Native Interpretation in the Harlequin RIP Converter 1.1". globalprintmonitor.com. 2009-11-22.
  42. ^ "Okular Document format handlers status". 2011-11-13.
  43. ^ "Scientific and technical documentation utility products features". 2017-06-22.
  44. ^ "News about Sumatra PDF reader". 2012-01-06.
  45. ^ "XPS Annotator". 2012-01-28.
  46. ^ XPS viewer
  47. ^ "Sharp Open Systems Architecture supports XPS in multi-function printers". Sharpusa.com. Retrieved 2009-12-10.
  48. ^ Monckton, Paul. "''IT Week'' 10 November 2006, Canon, Epson and HP support for XPS". Itweek.co.uk. Retrieved 2009-12-10.
  49. ^ "''Fuji Xerox and Microsoft Collaborate in Document Management Solutions Field''". Fujixerox.co.jp. 2006-11-28. Retrieved 2009-12-10.
  50. ^ "Ips Xps". Zoran.com. Retrieved 2009-12-10.
  51. ^ "Solutions for XPS document sharing and native XPS printing". Globalgraphics.com. Retrieved 2009-12-10.[permanent dead link]
  52. ^ "XPS Technology Showcase". Microsoft.com. 2007-04-19. Retrieved 2009-12-10.
  53. ^ "Windows Logo Program Requirements and Policies". Microsoft.com. Retrieved 2009-12-10.
  54. ^ "Community Promise for XPS". Microsoft. 2007-01-31. Archived from the original on 2014-04-10. Retrieved 2020-02-14.
  55. ^ "Community Promise for XPS FAQs". Microsoft.com. 2007-01-31. Archived from the original on September 19, 2009. Retrieved 2009-12-10.
  56. ^ "XML Paper Specification Licensing". Microsoft. 2005-09-02. Archived from the original on 2006-11-23. Retrieved 2020-02-14.
  57. ^ "Monotype Imaging Licenses XPS Printer Driver Solution to Microsoft".
  58. ^ "Monotype Imaging Licenses XPS Printer Driver Solution to Microsoft".
  59. ^ "Global Graphics XPS reference". Redorbit.com. 2006-09-21. Retrieved 2009-12-10.
  60. ^ Reimer, Jeremy (2007-07-01). "War and PDF: Microsoft submits XPS to standards body". Arstechnica.com. Retrieved 2009-12-10.
  61. ^ "TC46 - XML Paper Specification (XPS)". Ecma-international.org. Archived from the original on 2009-01-29. Retrieved 2009-12-10.
  62. ^ Steve McGibbon (Microsoft) (2009-06-17). "OpenXPS - OpenXML Paper Specification". Archived from the original on April 23, 2012.

External links[edit]