首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Ghostscript 9.07 : PDF/X-1a:2001 : PDF/X输出意图缺失

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

Stack Overflow用户
提问于 2013-06-13 05:23:21
回答 2查看 2.4K关注 0票数 2

请您告诉我如何嵌入PDF/X输出意图。当我检查飞行前,我报告说PDF/X-1a:2001 : PDF/X输出意图在PDF文件中缺失。

PDF文件中遇到的问题:

代码语言:javascript
复制
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指挥部:

代码语言:javascript
复制
gs -dPDFX -dBATCH -dNOPAUSE -dNOOUTERSAVE \
   -sProcessColorModel=DeviceCMYK -sDEVICE=pdfwrite \
   -sOutputFile=GS_Test.pdf PDFA_def.ps Test.ps

PDFA_def.ps :

代码语言:javascript
复制
%!
% 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
EN

回答 2

Stack Overflow用户

发布于 2013-06-13 05:43:24

gs命令中,指定PDF定义文件PDFA_def.ps。您需要指定PDF定义文件。

关于创建PDF/3文档的详细说明可以获得这里

票数 2
EN

Stack Overflow用户

发布于 2013-06-13 07:12:24

Ghostscript目前不支持PDF/X-1,只有PDF/X-3,PDF/A-1和PDF/A2。目前还不可能将所有颜色定义转换为PDF/X-1所需的颜色空间。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/17079750

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档