XML Paper Specification
From Wikipedia, the free encyclopedia
Filename extension | .xps |
---|---|
Internet media type | application/vnd.ms-xpsdocument |
Developed by | Microsoft, Ecma International |
Type of format | Page description language / Document file format |
Extended from | ZIP, XML, XAML |
Website | Ecma XML Paper Specification (XPS) Standard Working Draft |
The XML Paper Specification (XPS), formerly codenamed "Metro", is a specification for a page description language and a fixed-document format developed by Microsoft. It is an XML-based (more precisely XAML-based) specification, based on a new print path and a color-managed vector-based document format which supports device independence and resolution independence.
Contents |
[edit] Technology
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-graphic elements in documents, using XAML to mark up the WPF primitives. The elements used are described in terms of paths and other geometrical primitives.
An XPS file is in fact a ZIP archive using the Open Packaging Convention, which contains 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 simply by opening it in an application which supports ZIP files.
[edit] Features
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 also includes a software raster image processor (RIP) which is downloadable separately.[1] The print subsystem also has support for named colors, simplifying color definition for images transmitted to printers supporting those colors.
XPS also supports HD Photo images natively for raster images.[2] 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 are processed by the printer drivers without rasterization, preventing rendering artifacts and reducing computational load.
[edit] Similarities with PDF and PostScript
Like Adobe Systems's PDF format, XPS is a fixed-layout document format designed to preserve document fidelity,[3] providing device-independent documents appearance. PDF is a database of objects, created from PostScript and also directly generated from many applications, whereas XPS is based on XML. 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 not supported by the XPS format.[4]
Microsoft has submitted the XPS specification to Ecma.[5]
[edit] Viewing and creating XPS documents
Because the printing architecture of Windows Vista uses XPS as the spooler format,[3] it has native support for generating and reading XPS documents.[6] XPS documents can be created by printing to the virtual XPS printer driver. The XPS Viewer is installed by default in Windows Vista. The viewer is hosted within Internet Explorer 7. This Internet Explorer-hosted viewer and the XPS Document Writer are also available to Windows XP users when they download the .NET Framework 3.0. The IE-hosted viewer supports digital rights management and digital signatures. For users who do not wish to view XPS documents in the browser, they can download the XPS Essentials Pack,[7] which includes a standalone viewer and the XPS Document Writer. The XPS Essentials Pack also includes providers to enable the IPreview and IFilter capabilities used by Windows Desktop Search, as well as shell handlers to enable thumbnail views and file properties for XPS documents in Windows Explorer. The standalone viewer, however, does not support digital signatures.[8] The XPS Essentials Pack is available for Windows XP, Windows Server 2003, and Windows Vista.[8] Installing down-level XPS support enables operating systems prior to Windows Vista to use the XPS print processor, instead of the GDI-based WinPrint, which can produce better quality prints for printers that support XPS in hardware (directly consume the format).[9] The print spooler format on these operating systems, however, remains unchanged. The beta version of Windows 7 contain a standalone version of the XPS viewer that supports digital signatures.
[edit] Windows 2000
Windows 2000 support was dropped with the first release candidate of the XPS Essentials Pack, but the second beta runs on Windows 2000 (with GDI+ and MSXML 6) and can open XPS 1.0 files. Note that the time must be set prior to 2007-01-01 in order for the program to function.
[edit] Third-party support
[edit] Hardware
XPS has the support of printing companies such as Konica Minolta, Sharp,[10] Canon, Epson, Hewlett-Packard,[11] and Xerox[12] and software and hardware companies such as Software Imaging,[13] Pagemark Technology Inc.,[14] Informative Graphics Corp. (IGC),[15] NiXPS NV,[16] Zoran,[17] and Global Graphics.[18]
Native XPS printers have been introduced insofar by Konica Minolta, Toshiba, and Xerox.[19]
Devices that are Certified for Windows Vista level of Windows Logo conformance certificate are required to have XPS drivers for printing since 1 June 2007.[20]
[edit] Licensing
In order to encourage wide use of the format, Microsoft has released XPS under a royalty-free patent license called the Community Promise for XPS,[21][22] allowing users to create implementations of the specification that read, write and render XPS files as long as you include a notice within the source that technologies implemented may be encumbered by patents held by Microsoft. Microsoft also requires 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 is released under a royalty-free copyright license, allowing its free distribution.[23]
[edit] See also
- Functional specification
- Windows Vista printing technologies
- Okular
- Extensible Forms Description Language (XFDL)
[edit] References
- ^ Reference Raster Image Processor (RIP)
- ^ HD Photo information on Microsoft Photography team blog
- ^ a b Microsoft Readies New Document Printing Specification
- ^ Comparison of PDF, XPS and ODF by an ISV providing PDF solutions
- ^ War and PDF: Microsoft submits XPS to standards body
- ^ XPS Documents in Windows Vista
- ^ http://www.microsoft.com/downloads/details.aspx?FamilyID=b8dcffdd-e3a5-44cc-8021-7649fd37ffee&displaylang=en
- ^ a b View and generate XPS
- ^ XPSDrv Filter Pipeline: Implementation and Best Practice
- ^ Sharp Open Systems Architecture supports XPS in multi-function printers
- ^ IT Week 10 November 2006, Canon, Epson and HP support for XPS
- ^ Fuji Xerox and Microsoft Collaborate in Document Management Solutions Field
- ^ Software Imaging :: XPS & Windows Vista
- ^ Pagemark Technology
- ^ Informative Graphics Announces Brava! Annotation, Redaction Support For Microsoft XPS Format
- ^ NiXPS
- ^ IPS XPS
- ^ Solutions for XPS document sharing and native XPS printing
- ^ XPS Technology Showcase
- ^ Windows Logo Program Requirements and Policies
- ^ Community Promise for XPS
- ^ Community Promise for XPS FAQs
- ^ XML Paper Specification Licensing, Microsoft. Retrieved on June 8, 2006.
[edit] External links
- XML Paper Specification
- Microsoft XPS Development Team Blog
- Viewing XPS Documents
- Free XPS Viewer - 32 and 64 bit versions, non-managed
- NDesk XPS, Free Open Source cross-platform viewer and conversion tool
- first report and conference
- XPS FAQ and white papers on office and professional printing from a software technology provider
- Ecma XML Paper Specification (XPS) Standard Working Draft
|