星火微课系统客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PDFX_def.ps 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. %!
  2. % $Id: PDFX_def.ps 8284 2007-10-10 17:40:38Z giles $
  3. % This is a sample prefix file for creating a PDF/X-3 document.
  4. % Feel free to modify entries marked with "Customize".
  5. % This assumes an ICC profile to reside in the file (ISO Coated sb.icc),
  6. % unless the user modifies the corresponding line below.
  7. systemdict /ProcessColorModel known {
  8. systemdict /ProcessColorModel get dup /DeviceGray ne exch /DeviceCMYK ne and
  9. } {
  10. true
  11. } ifelse
  12. { (ERROR: ProcessColorModel must be /DeviceGray or DeviceCMYK.)=
  13. /ProcessColorModel cvx /rangecheck signalerror
  14. } if
  15. % Define entries to the document Info dictionary :
  16. /ICCProfile (ISO Coated sb.icc) def % Customize or remove.
  17. [ /GTS_PDFXVersion (PDF/X-3:2002) % Must be so (the standard requires).
  18. /Title (Title) % Customize.
  19. /Trapped /False % Must be so (Ghostscript doesn't provide other).
  20. /DOCINFO pdfmark
  21. % Define an ICC profile :
  22. currentdict /ICCProfile known {
  23. [/_objdef {icc_PDFX} /type /stream /OBJ pdfmark
  24. [{icc_PDFX} <</N systemdict /ProcessColorModel get /DeviceGray eq {1} {4} ifelse >> /PUT pdfmark
  25. [{icc_PDFX} ICCProfile (r) file /PUT pdfmark
  26. } if
  27. % Define the output intent dictionary :
  28. [/_objdef {OutputIntent_PDFX} /type /dict /OBJ pdfmark
  29. [{OutputIntent_PDFX} <<
  30. /Type /OutputIntent % Must be so (the standard requires).
  31. /S /GTS_PDFX % Must be so (the standard requires).
  32. /OutputCondition (Commercial and specialty printing) % Customize
  33. /Info (none) % Customize
  34. /OutputConditionIdentifier (CGATS TR001) % Customize
  35. /RegistryName (http://www.color.org) % Must be so (the standard requires).
  36. currentdict /ICCProfile known {
  37. /DestOutputProfile {icc_PDFX} % Must be so (see above).
  38. } if
  39. >> /PUT pdfmark
  40. [{Catalog} <</OutputIntents [ {OutputIntent_PDFX} ]>> /PUT pdfmark