您能否告诉我如何嵌入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 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
答案 0 :(得分:2)
在gs
命令中,您指定了PDF-A定义文件PDFA_def.ps
。您需要改为指定PDF-X定义文件。
有关创建PDF-X / 3文档的详细说明,请here。
答案 1 :(得分:2)
Ghostscript目前不支持PDF / X-1,PDF / X-3,PDF / A-1和PDF / A-2的制作。目前无法将所有颜色定义转换为PDF / X-1所需的颜色空间。