Page MenuHomec4science

PDFX_def.ps
No OneTemporary

File Metadata

Created
Sun, Aug 11, 13:57

PDFX_def.ps

%!
% $Id: PDFX_def.ps 12081 2011-01-31 11:09:11Z ken $
% This is a sample prefix file for creating a PDF/X-3 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.
% The original PDFX_def.ps has been modified to remove link annotation
% from the file. GTS_PDFXConformance has been added. Some variables
% replaced at runtime have been inserted
systemdict /ProcessColorModel known {
systemdict /ProcessColorModel get dup /DeviceGray ne exch /DeviceCMYK ne and
} {
true
} ifelse
{ (ERROR: ProcessColorModel must be /DeviceGray or DeviceCMYK.)=
/ProcessColorModel cvx /rangecheck signalerror
} if
% Define entries to the document Info dictionary :
<<<<ICCPROFILEDEF>>>> % Insert (or not) ICC profile
[ /GTS_PDFXVersion (<<<<GTS_PDFXVersion>>>>) % Must be so (the standard requires).
/GTS_PDFXConformance (<<<<GTS_PDFXConformance>>>>) % Must be so (the standard requires).
/Title (<<<<TITLEMARKER>>>>) % Customize.
/Trapped /False % Must be so (Ghostscript doesn't provide other).
/DOCINFO pdfmark
% Define an ICC profile :
currentdict /ICCProfile known {
[/_objdef {icc_PDFX} /type /stream /OBJ pdfmark
[{icc_PDFX} <</N systemdict /ProcessColorModel get /DeviceGray eq {1} {4} ifelse >> /PUT pdfmark
[{icc_PDFX} ICCProfile (r) file /PUT pdfmark
} if
% Define the output intent dictionary :
[/_objdef {OutputIntent_PDFX} /type /dict /OBJ pdfmark
[{OutputIntent_PDFX} <<
/Type /OutputIntent % Must be so (the standard requires).
/S /GTS_PDFX % Must be so (the standard requires).
/OutputCondition (Commercial and specialty printing) % Customize
/Info (none) % Customize
/OutputConditionIdentifier (CGATS TR001) % Customize
/RegistryName (http://www.color.org) % Must be so (the standard requires).
currentdict /ICCProfile known {
/DestOutputProfile {icc_PDFX} % Must be so (see above).
} if
>> /PUT pdfmark
[{Catalog} <</OutputIntents [ {OutputIntent_PDFX} ]>> /PUT pdfmark
% remove any links inside
/pdfmark {cleartomark} bind def

Event Timeline