2

Could you please tell me how to embedded the PDF/X output intent. When I check with preflight I reported that PDF/X-1a:2001 : PDF/X output intent is missing in the PDF file.

Problem faced in the PDF file:

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 Command:

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
4

2 回答 2

2

Ghostscript 目前不支持 PDF/X-1 的制作,仅支持 PDF/X-3、PDF/A-1 和 PDF/A-2。当前无法将所有颜色定义转换为 PDF/X-1 所需的颜色空间。

于 2013-06-13T07:12:24.533 回答
2

在您的gs命令中,您指定的是 PDF-A 定义文件PDFA_def.ps。您需要指定 PDF-X 定义文件。

此处提供了有关创建 PDF-X/3 文档的详细说明。

于 2013-06-13T05:43:24.167 回答