【发布时间】:2012-09-26 08:59:59
【问题描述】:
我在命令行中使用 Ghostscript 来减小 PDF 文件的大小。我正在尝试的命令是
gswin64c -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 ^
-dPDFSETTINGS=/screen -dNOPAUSE -dQUIET ^
-dBATCH -sOutputFile=C:\output.pdf C:\input.pdf
input.pdf 在我的 C:\ 驱动器中
我收到以下错误
Could not open file C:\output.pdf
Unable to open the initial device, quitting
有人遇到过这个问题可以帮助我吗?
【问题讨论】:
标签: php pdf ghostscript