Ghostscript 9.07: PDF / X-1a: 2001: PDF / X exit intent is missing

Could you please tell me how to implement a PDF / X output target. When I check with the pre-flight message, I reported that PDF / X-1a: 2001: PDF / X output intent is missing in the PDF file.

Problem in 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

      

+2


source to share


2 answers


In your command, gs

you specify a PDF-A definition file PDFA_def.ps

. Instead, you need to provide a PDF-X definition file.



Detailed instructions on how to create a PDF-X / 3 document are available here .

+2


source


Ghostscript does not currently support PDF / X-1 creation, only PDF / X-3, PDF / A-1 and PDF / A-2. It is currently not possible to convert all color definitions to the required color space for PDF / X-1.



+2


source







All Articles