Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Some times I have to deal with XPS files (XPS is a Microsoft's rival to Adobe's PDF format, technically a zipped XAML (XML)).

Can I view them in Ubuntu? Or, maybe, I could even produce them?

share|improve this question
add comment

3 Answers

Okular, the KDE pdf viewer, supports XPS. The package name is okular I'm not aware of any GNOME/GTK+ viewers that support XPS, though according to this evince bug in upstream GNOME support has been added. It's not working for me in Maverick....

share|improve this answer
add comment

Evince has XPS support now. Check: http://projects.gnome.org/evince/?guid=ON

share|improve this answer
1  
Google Docs also supports this format as of February 2011: googledocs.blogspot.com/2011/02/… –  Tom Brossman Dec 23 '11 at 7:13
    
Did you know, MS SampleXpsDocuments archive is a Win32 executable and weights 159 MiB? :-) I am going to check the answer (to know it Evince XPS support is really usable) as soon as I find a sane XPS file to try... –  Ivan Dec 27 '11 at 5:24
    
Does Evince really support XPS? The link below the list doesn't say so. And it doesn't work here. –  Jakob Mar 14 '12 at 9:03
    
@Jakob evince upstream supports it, but the package in ubuntu does not currenty use it. It requires a package libgxps which was just included in 12.04 and to be enabled in evince package, which is underway - there is no guarantee though because we're a bit late. See askubuntu.com/questions/112852/… and "XPS not supported" –  medigeek Mar 26 '12 at 16:51
add comment

Your best bet for writing them may be to try to build the GhostXPS component of GhostPDL (part of the Ghostscript suite); I don't know if this has ever been pacakged for Ubuntu, and I don't have first-hand experience with it.

Inkscape can both read and write .xaml files. I suppose it could even be used to convert, e.g., .pdf or .svg to .xaml. I don't know, however, whether or not it can handle .xps files directly (perhaps not).

share|improve this answer
add comment

protected by Community Oct 14 '13 at 23:04

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.