ArticleslgStudy

computer science

Open XML Paper Specification

Open XML Paper Specification is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Open XML Paper Specification rather than just read about it. In short: 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).

Open XML Paper Specification — main illustration
Open XML Paper Specification — illustration

Key takeaways

  • Open XML Paper Specification belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Open XML Paper Specification to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Open XML Paper Specification from memory before moving on to harder problems.

Reference excerpt

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. 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. OpenXPS was introduced by Microsoft as an alternative to Portable 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.

Format 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. Microsoft provides two free converters. XpsConverter converts documents between .xps and .oxps format, while OxpsConverter converts documents from .oxps to .xps format.

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 includes a software raster image processor (RIP) (downloadable separately). 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. 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.

Comparison with PDF Like PDF, XPS is a page description language using fixed-layout document format designed to preserve document fidelity, providing device-independent document appearance. PDF uses Carousel Object Syntax (COS syntax) to form a random access 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. 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 a virtual PDF printer such as Microsoft Print to PDF, with a similar procedure to convert from PDF to XPS.

Viewing and creating XPS documents Windows Vista and later supports both creating and viewing XPS. In addition, the printing architecture of Windows Vista uses XPS as the spooler format. 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. 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, 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. Installing this pack enables operating systems prior to Windows Vista to use the XPS print spooler instead of the older GDI-based spooler. The XPS print spooler can produce better quality prints for printers that directly consume the XPS format.

Third-party software

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

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Open XML Paper Specification

Start with the simplest possible case. Write down what Open XML Paper Specification claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Open XML Paper Specification before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Open XML Paper Specification ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Open XML Paper Specification

In research
Open XML Paper Specification appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Open XML Paper Specification in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Open XML Paper Specification is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer printers, Digital press, Document-centric XML-based standards, so understanding it makes those chapters shorter.
In everyday life
Look for Open XML Paper Specification outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Open XML Paper Specification” →

How to study Open XML Paper Specification in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Open XML Paper Specification means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Open XML Paper Specification out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Open XML Paper Specification in simple terms?

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).

Why does Open XML Paper Specification matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Open XML Paper Specification?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Open XML Paper Specification.

Tags

  • Computer printers
  • Digital press
  • Document-centric XML-based standards
  • Ecma standards
  • Office document file formats
  • Open formats
  • Page description markup languages
  • XML
  • XML-based standards

Keep exploring