]> git.lizzy.rs Git - plan9front.git/blob - sys/lib/ghostscript/PDFX_def.ps
etherbcm: handle 64-bit host addresses, use PCIWADDR() instead of PADDR()
[plan9front.git] / sys / lib / ghostscript / PDFX_def.ps
1 %!
2 % $Id: PDFX_def.ps,v 1.1 2005/09/12 11:34:50 leonardo Exp $
3 % This is a sample prefix file for creating a PDF/X-3 document.
4 % Feel free to modify entries marked with "Customize".
5
6 % This assumes an ICC profile to reside in the file (ISO Coated sb.icc),
7 % unless the user modifies the corresponding line below.
8
9 % Define emtries to the document Info dictionary :
10
11 /ICCProfile (ISO Coated sb.icc)   % Customize.
12 def
13
14 [ /GTS_PDFXVersion (PDF/X-3:2001) % Must be so (the standard requires).
15   /Title (Title)                  % Customize.
16   /Trapped /False                 % Must be so (Ghostscript doesn't provide other).
17   /DOCINFO pdfmark
18
19 % Define an IDD profile :
20
21 [/_objdef {icc_PDFX} /type /stream /OBJ pdfmark
22 [{icc_PDFX} ICCProfile (r) file /PUT pdfmark
23
24 % Define the output intent dictionary :
25
26 [/_objdef {OutputIntent_PDFX} /type /dict /OBJ pdfmark
27 [{OutputIntent_PDFX} <<
28   /Type /OutputIntent             % Must be so (the standard requires).
29   /S /GTS_PDFX                    % Must be so (the standard requires).
30   /OutputCondition (Commercial and specialty printing) % Customize
31   /Info (none)                             % Customize
32   /OutputConditionIdentifier (Custom)      % Customize
33   /DestOutputProfile {icc_PDFX}            % Must be so (see above).
34 >> /PUT pdfmark
35 [{Catalog} <</OutputIntents [ {OutputIntent_PDFX} ]>> /PUT pdfmark