Ghostscript 9.07:PDF/X-1a:2001:缺少 PDF/X 输出意图

2024-04-25

您能告诉我如何嵌入 PDF/X 输出意图吗?当我检查预检时,我报告 PDF/X-1a:2001:PDF 文件中缺少 PDF/X 输出意图。

PDF 文件中遇到的问题:

1) PDF/X-1a:2001 : PDF/X version is not PDF/X-1a:2001
2) PDF/X-1a:2001 : PDF/X output intent is missing
3) PDF/X-1a:2001 : Document trapped flag is Unknown
4) PDF/X-1a:2001 : Text object uses invalid characters (.notdef glyphs)

地面指挥系统:

gs -dPDFX -dBATCH -dNOPAUSE -dNOOUTERSAVE \
   -sProcessColorModel=DeviceCMYK -sDEVICE=pdfwrite \
   -sOutputFile=GS_Test.pdf PDFA_def.ps Test.ps

PDFA_def.ps:

%!
% This is a sample prefix file for creating a PDF/A document.
% Feel free to modify entries marked with "Customize".

% This assumes an ICC profile to reside in the file (ISO Coated sb.icc),
% unless the user modifies the corresponding line below.

% Define entries in the document Info dictionary :

/ICCProfile (/usr/share/ghostscript/9.07/iccprofiles/ISOcoated_v2_300_eci.icc)   % Customize.
def

[ /Title (Title)                  % Customize.
/DOCINFO pdfmark

% Define an ICC profile :

[/_objdef {icc_PDFA} /type /stream /OBJ pdfmark
[{icc_PDFA} <</N systemdict /ProcessColorModel get /DeviceGray eq {1} {4} ifelse >> /PUT pdfmark
[{icc_PDFA} ICCProfile (r) file /PUT pdfmark

% Define the output intent dictionary :

[/_objdef {OutputIntent_PDFA} /type /dict /OBJ pdfmark
[{OutputIntent_PDFA} <<
/Type /OutputIntent             % Must be so (the standard requires).
/S /GTS_PDFA1                   % Must be so (the standard requires).
/DestOutputProfile {icc_PDFA}            % Must be so (see above).
/OutputConditionIdentifier (ISO Coated v2 300% (ECI))      % Customize

/PUT pdfmark
[{Catalog} <</OutputIntents [ {OutputIntent_PDFA} ]>> /PUT pdfmark

In your gs命令,您正在指定 PDF-A 定义文件PDFA_def.ps。您需要指定 PDF-X 定义文件。

提供了创建 PDF-X/3 文档的详细说明here http://svn.ghostscript.com/ghostscript/trunk/gs/doc/Ps2pdf.htm#PDFX.

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Ghostscript 9.07:PDF/X-1a:2001:缺少 PDF/X 输出意图 的相关文章

随机推荐