【问题标题】:Ghostscript 9.07 : PDF/X-1a:2001 : PDF/X output intent is missingGhostscript 9.07:PDF/X-1a:2001:缺少 PDF/X 输出意图
【发布时间】:2013-06-13 05:23:21
【问题描述】:

您能否告诉我如何嵌入 PDF/X 输出意图。当我检查预检时,我报告说 PDF/X-1a:2001 : PDF/X 输出意图在 PDF 文件中丢失。

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 命令:

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

【问题讨论】:

    标签: ghostscript pdfa


    【解决方案1】:

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

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

    【讨论】:

    • 感谢 Devnull,我需要嵌入 PDF/X-1a:2001,但在文档中显示 PDF/X-3:2002。如何处理这种 PDF/x-1a:2001 兼容性
    • 看到这个thread
    【解决方案2】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-06-26
      • 1970-01-01
      • 2011-05-14
      • 1970-01-01
      • 2010-12-12
      • 1970-01-01
      • 2015-04-22
      • 2013-12-22
      相关资源
      最近更新 更多