Convert .oxps file to .pdf file on Windows 8

You can try to use online services such as: http://online2pdf.com/oxps-to-pdf

You can also try installing a PDF printer on your PC, opening up the .oxps file and then "printing" to PDF.

PDF printer: CutePDF


This can be done using GhostXPS (9.19 and above):

gxpswin64-9.19.exe -sDEVICE=pdfwrite -sOutputFile=pdffile.pdf -dNOPAUSE oxpsfile.oxps

Change the name of the GhostXPS executable as appropriate.


Batch file for easy conversion

@echo off

C:\path\to\ghostxps.exe  -sDEVICE=pdfwrite -sOutputFile=%1.pdf -dNOPAUSE %1

Save as oxps2pdf.bat or similar.

Usage: oxps2pdf INPUTFILE

Adding OXPS to PDF conversion to the context (right-click) menu

  1. Start the Registry Editor: run: regedit.exe
  2. Navigate to HKEY_CURRENT_USER\Software\Classes\SystemFileAssociations\
  3. locate .oxps\ key , if it doesnt exist, create it (right click --> New --> Key)
  4. locate shell\ subkey, if it doesn't exist, create it
  5. create pdfconvert\ subkey (name doesn't really matter)
  6. double click on the (Default) REG_SZ String to give the menu a name, i.e. Convert to PDF

Regedit Command Description Definition

  1. create 'command` subkey
  2. Define (Default) String to "C:\path\to\gxpswin64.exe" -sDEVICE=pdfwrite -sOutputFile=%1.pdf -dNOPAUSE %1

Regedit Command Definition

  1. Repeat the steps for .xps if you wish

Now you can see the new added context menu item Convert To PDF Context Menu Item Added ScreenShot

Adding OXPS to PDF conversion to the right-click menu (Send to)

As an alternative you can setup the Send To menu instead. This works, but is suboptimal.

  1. Navigate to your SendTo folder (Win-R to show Run dialog; enter shell:sendto).

  2. Inside the SendTo folder, create a shortcut to the oxps2pdf.bat batch file found above.

  3. Rename the newly created shortcut "Convert OXPS to PDF".

Now, when you right-click on a file, the Send To menu should contain "Convert OXPS to PDF".