【问题标题】:Attempting to create pdf/a from pdf using ghostscript gswin8.56 32bit尝试使用 ghostscript gswin8.56 32bit 从 pdf 创建 pdf/a
【发布时间】:2017-05-17 07:11:48
【问题描述】:

我正在尝试在 windows server 2012 r2 上使用以下命令将 pdf 转换为 pdf/a。

gswin32c.exe -dPDFA=1 -dBATCH -dNOPAUSE
-sColorConversionStrategy=/RGB -sOutputICCProfile=AdobeRGB1998.icc \
-sDEVICE=pdfwrite -sOutputFile=output_a.pdf -dPDFACompatibilityPolicy=1 \
PDFA_def.ps inputput.pdf

Prior to this I changed the icc profile in PDFA_def.ps to AdobeRGB1998.icc.
When I run the command I get the following Post Script error message.

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval-
- 2 %stopped_push --nostringval-- --nostringval--   --nostringval--   false 1 %stopped_push
Dictionary stack:
   --dict:1140/1684(ro)(G)--   --dict:0/20(G)--   --dict:70/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
GPL Ghostscript 8.56: Unrecoverable error, exit code 1

I have been beating my head on this for quiet long now. Any help to resolve this error would be highly appreciated.

【问题讨论】:

    标签: pdf ghostscript pdfa


    【解决方案1】:

    您根本无法使用那么旧的 Ghostscript 版本(8.56 现在已经 9 岁)做到这一点。当前发布的版本是9.20,升级吧。

    您还应确保在修改后的 pdfa_def.ps 中指定了 ICC 配置文件的完整路径。

    【讨论】:

      猜你喜欢
      • 2014-02-13
      • 1970-01-01
      • 1970-01-01
      • 2019-04-02
      • 1970-01-01
      • 1970-01-01
      • 2020-03-07
      • 1970-01-01
      • 2016-06-15
      相关资源
      最近更新 更多