plan9fox/sys/lib/ghostscript/PDFX_def.ps

36 lines
1.3 KiB
PostScript
Raw Normal View History

%!
% $Id: PDFX_def.ps,v 1.1 2005/09/12 11:34:50 leonardo Exp $
% 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.
% Define emtries to the document Info dictionary :
/ICCProfile (ISO Coated sb.icc) % Customize.
def
[ /GTS_PDFXVersion (PDF/X-3:2001) % Must be so (the standard requires).
/Title (Title) % Customize.
/Trapped /False % Must be so (Ghostscript doesn't provide other).
/DOCINFO pdfmark
% Define an IDD profile :
[/_objdef {icc_PDFX} /type /stream /OBJ pdfmark
[{icc_PDFX} ICCProfile (r) file /PUT pdfmark
% 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 (Custom) % Customize
/DestOutputProfile {icc_PDFX} % Must be so (see above).
>> /PUT pdfmark
[{Catalog} <</OutputIntents [ {OutputIntent_PDFX} ]>> /PUT pdfmark