我完成了一项大学作业,不小心将其另存为 .oxps 文件...如何在 Windows 8 上将 .oxps 文件转换为 .pdf?
您可以尝试使用在线服务,例如:http : //online2pdf.com/oxps-to-pdf
您也可以尝试在 PC 上安装 PDF 打印机,打开.oxps文件,然后“打印”为 PDF。
PDF打印机:CutePDF
这可以使用GhostXPS(9.19 及更高版本)完成:
gxpswin64-9.19.exe -sDEVICE=pdfwrite -sOutputFile=pdffile.pdf -dNOPAUSE oxpsfile.oxps
根据需要更改 GhostXPS 可执行文件的名称。
@echo off
C:\path\to\ghostxps.exe -sDEVICE=pdfwrite -sOutputFile=%1.pdf -dNOPAUSE %1
Run Code Online (Sandbox Code Playgroud)
另存为oxps2pdf.bat或类似。
用法: oxps2pdf INPUTFILE
regedit.exeHKEY_CURRENT_USER\Software\Classes\SystemFileAssociations\.oxps\key ,如果它不存在,则创建它(右键单击 --> New --> Key)shell\子键,如果它不存在,创建它pdfconvert\子项(名称并不重要)(Default) REG_SZ String to give the menu a name, i.e. Convert to PDF"C:\path\to\gxpswin64.exe" -sDEVICE=pdfwrite -sOutputFile=%1.pdf -dNOPAUSE %1.xps if you wishNow you can see the new added context menu item Convert To PDF

As an alternative you can setup the Send To menu instead. This works, but is suboptimal.
Navigate to your SendTo folder (Win-R to show Run dialog; enter shell:sendto).
Inside the SendTo folder, create a shortcut to the oxps2pdf.bat batch file found above.
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".
| 归档时间: |
|
| 查看次数: |
65023 次 |
| 最近记录: |