GhostScript转换pdf

1、ps到pdf

gswin32c -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -otest.pdf test.ps

2、xps到pdf

gxpswin32-xxx.exe  -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=test.pdf  test.xps

Leave a Reply

Your email address will not be published. Required fields are marked *

*