Most of the tools shown when searching for "xps to pdf converter" are online. A few offline tools available require install and don't provide quality conversion. They seem to convert xps to image and then image to pdf.
I am looking for a free and portable (optional) xps converter for Windows that converts XPS to PDF preserving the text content wherever possible.
-
manpages.ubuntu.com/manpages/precise/man1/xpstopdf.1.html ? – Franck Dernoncourt Jul 16 '14 at 3:44
-
@FranckDernoncourt I am using MS Windows. – Avi Jul 17 '14 at 11:28
-
NovaPDF seems to be a good one, but it's free for trial only. – Neeku Jul 18 '14 at 10:43
-
1They also have doPDF . It's free but large in size 40mb – Avi Jul 22 '14 at 12:02
-
1@KurtPfeifle I saw your answer only today. Thanks, a command-line tool will be handy at times. – Avi Jul 7 '15 at 1:50
If you can open the XPS document then a pdf printer should work quite well.
I have often used PDFCreator for this exact task. If there is text in a document that it is printing it maintains that as a text format rather than text->image->pdf which truely does suck.
It is free and you can convert to many more formats as well. Some versions of the installer want to install semi-junk toolbars so make sure to unselect them unless for some bizarre reasons you do want them.
-
1This brings us to the need for an app to open XPS. Can you complement the answer with this? – sancho.s ReinstateMonicaCellio Sep 8 '15 at 5:17
GhostPDL, by the same developers as the better-known Ghostscript software, contains a module called "GhostXPS".
You can download GhostXPS here. You can use it under the GPL as well as under a commercial license. There are pre-compiled binaries for Windows as well as Linux available (plus a source code license in order to self-compile it on other platforms, like Mac OS X).
To convert an XPS file to a PDF, use this command:
gxps -o out.pdf \
-sDEVICE=pdfwrite \
input.xps
-
@danicotra: This (v8.71) definitely is not a newer version of GhostXPS! – Kurt Pfeifle Oct 30 '16 at 19:26
-
You're right, sorry, I definitely mistaken! Gonna change my comment and cross link the other answer too. – danicotra Oct 30 '16 at 19:29
-
This is a good solution when you can't install a PDF printer. Linking to another possible syntax to do the same thing using GhostXPS – danicotra Oct 30 '16 at 19:30