OpenCores
URL https://opencores.org/ocsvn/phr/phr/trunk

Subversion Repositories phr

[/] [phr/] [trunk/] [doc/] [informe-tesis/] [template/] [metathesis-v2.0/] [pdfa/] [PDFA_def.ps] - Blame information for rev 217

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 5 guanucolui
%!
2
% $Id: PDFA_def.ps 8284 2007-10-10 17:40:38Z giles $
3
% This is a sample prefix file for creating a PDF/A 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
 
10
systemdict /ProcessColorModel known {
11
  systemdict /ProcessColorModel get dup /DeviceGray ne exch /DeviceCMYK ne and
12
} {
13
  true
14
} ifelse
15
{ (ERROR: ProcessColorModel must be /DeviceGray or DeviceCMYK.)=
16
  /ProcessColorModel cvx /rangecheck signalerror
17
} if
18
 
19
 
20
% Define entries to the document Info dictionary :
21
 
22
/ICCProfile (pdfa/sRGB Color Space Profile.icm)   % Customize.
23
def
24
 
25
[ /Title (Title)                  % Customize.
26
  /DOCINFO pdfmark
27
 
28
% Define an ICC profile :
29
 
30
[/_objdef {icc_PDFA} /type /stream /OBJ pdfmark
31
[{icc_PDFA} <</N systemdict /ProcessColorModel get /DeviceGray eq {1} {4} ifelse >> /PUT pdfmark
32
[{icc_PDFA} ICCProfile (r) file /PUT pdfmark
33
 
34
% Define the output intent dictionary :
35
 
36
[/_objdef {OutputIntent_PDFA} /type /dict /OBJ pdfmark
37
[{OutputIntent_PDFA} <<
38
  /Type /OutputIntent             % Must be so (the standard requires).
39
  /S /GTS_PDFA1                   % Must be so (the standard requires).
40
  /DestOutputProfile {icc_PDFA}            % Must be so (see above).
41
  /OutputConditionIdentifier (CGATS TR001)      % Customize
42
>> /PUT pdfmark
43
[{Catalog} <</OutputIntents [ {OutputIntent_PDFA} ]>> /PUT pdfmark

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.