正在尝试使用ghostscript gswin8.56 32位从pdf创建pdf/a

正在尝试使用ghostscript gswin8.56 32位从pdf创建pdf/a,pdf,ghostscript,pdfa,Pdf,Ghostscript,Pdfa,我正在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

我正在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.

对于这么旧的Ghostscript版本(8.56现在已经9年了),您根本无法做到这一点。当前发布的版本是9.20,升级版

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