diff options
author | Igor Melichev <igor.melichev@artifex.com> | 2005-09-12 11:34:50 +0000 |
---|---|---|
committer | Igor Melichev <igor.melichev@artifex.com> | 2005-09-12 11:34:50 +0000 |
commit | cb442540f716d72d19dc19ca94cd1c47a61325bd (patch) | |
tree | 6e829a5d13e6bb6e68e53d7eace3e490b679374f /gs/lib/PDFX_def.ps | |
parent | aac71591b6c2123940079f0a2d933b0f4767e56e (diff) |
ps2write : Implementing a generation of PDF/X-3.
DETAILS :
This implements the new feature, which is being coontrolled
with a new command line option PDFX, and a new pdfwrite device paramewter with same name.
1. A documentation change, which explains the new feature.
2. A Postscript code change : the DeviceRGB color space substitution, a special handling of /PS pdfmark.
3. A new sample file gs/lib/PDFX_def.ps with default PDF/X-3 definitions.
4. A C code change : force CompatibilityLevel 1.3, force embedding all fonts,
skip halftone phases and transfer functions, write TrimBox.
EXPECTED DIFFERENCES :
None.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@6113 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/lib/PDFX_def.ps')
-rwxr-xr-x | gs/lib/PDFX_def.ps | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gs/lib/PDFX_def.ps b/gs/lib/PDFX_def.ps new file mode 100755 index 000000000..3d006ddf9 --- /dev/null +++ b/gs/lib/PDFX_def.ps @@ -0,0 +1,35 @@ +%! +% $Id$ +% 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 |