summaryrefslogtreecommitdiff
path: root/sys/lib/ghostscript/PDFX_def.ps
diff options
context:
space:
mode:
authorTaru Karttunen <taruti@taruti.net>2011-03-30 16:53:33 +0300
committerTaru Karttunen <taruti@taruti.net>2011-03-30 16:53:33 +0300
commite463eb40363ff4c68b1d903f4e0cdd0ac1c5977f (patch)
treed5e9f57c28f026cb21de3bd77cc10cd7f64aaa85 /sys/lib/ghostscript/PDFX_def.ps
parentb41b9034225ab3e49980d9de55c141011b6383b0 (diff)
Import sources from 2011-03-30 iso image - sys/lib
Diffstat (limited to 'sys/lib/ghostscript/PDFX_def.ps')
-rwxr-xr-xsys/lib/ghostscript/PDFX_def.ps35
1 files changed, 35 insertions, 0 deletions
diff --git a/sys/lib/ghostscript/PDFX_def.ps b/sys/lib/ghostscript/PDFX_def.ps
new file mode 100755
index 000000000..51a93a92f
--- /dev/null
+++ b/sys/lib/ghostscript/PDFX_def.ps
@@ -0,0 +1,35 @@
+%!
+% $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