14

I am using a computer with Linux.

How can I view files with the XPS extension?

houbysoft
  • 4,434
  • 11
  • 40
  • 62
  • @Oliver Salzburg how is "Is there an XPS viewer for linux?" "not constructive"? – CW Holeman II Jul 26 '13 at 04:47
  • @C.W.HolemanII: no, actually its a software req - these used to be alright, but eventually we decided it was just another product req. The right way to ask these questions would be in the form of a solution to a problem. See well [most of these](http://meta.superuser.com/search?q=software) for more details - its been discussed to death. – Journeyman Geek Jul 26 '13 at 08:20
  • I'd like to add that – even if the question became "How can I view XPS files on Linux?" – we require a minimum amount of research effort. Even [the Wikipedia page](http://en.wikipedia.org/wiki/Open_XML_Paper_Specification) lists a couple of Linux programs, so unless there's any *problem* someone's facing with any of those tools, the question would be too basic. – slhck Jul 26 '13 at 08:24
  • @slhck: this was asked in 2010... (now there's plenty, back in 2010, not really). I can see why you would want to close it anyway for consistency, just saying that back in 2010, this would've been a good question :) – houbysoft Jul 26 '13 at 08:31
  • I know… in 2010 everything was different around here (and of course also in the world of XPS viewers), it's just that we need to find some sort of middle ground in these situations, which is a little hard. – slhck Jul 26 '13 at 08:34

4 Answers4

5

The developers of Ghostscript, Artifex, have an XPS Viewer for Linux which presumably has the same requirements as Ghostscript. The download page for the whole suite is here. Also, here is a page from Microsoft that lists XPS related products.

Dennis Williamson
  • 106,229
  • 19
  • 167
  • 187
  • Maybe that MS link used to be helpful, but now it goes to an FAQ page that only lists Windows software - not helpful at all for this question. – Jason Antman Aug 05 '12 at 14:36
  • @JasonAntman: The [Third-party support](http://en.wikipedia.org/wiki/Open_XML_Paper_Specification#Third-party_support) section of the Wikipedia article on XPS should provide a partial replacement for the former content of that MS page. Additional information can be found [here](http://www.fileinfo.com/extension/xps). – Dennis Williamson Aug 05 '12 at 14:47
5

I think you should get Okular, since it's the best XPS viewer for Linux:

Okular is a universal document viewer based on KPDF for KDE 4. This means Okular works on multiple platforms, including but not limited to Linux, Windows, Mac OS X, *BSD, etc.

Okular combines the excellent functionalities of KPDF with the versatility of supporting different kind of documents, like PDF, Postscript, DjVu, CHM, XPS, ePub and others.

Diogo
  • 30,192
  • 65
  • 150
  • 222
Albert
  • 51
  • 1
  • 1
3

mupdf is a very lightweight, fast and small PDF and XPS viewer.

1

As part of the Ghostscript-related suite of GhostPDL page description languages, there is the commandline gxps which can...

  • ...make XPS files display on screen: gxps file.xps,
  • ...convert XPS files to PDF (or PostScript, JPEG, TIFF, PNG, ...).

The command to convert an XPS to PDF would be

gxps \
  -o output.pdf \
  -sDEVICE=pdfwrite \
   input.xps
Kurt Pfeifle
  • 12,411
  • 2
  • 54
  • 71