home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / source / ps2eps / README < prev   
Text File  |  1991-04-10  |  2KB  |  73 lines

  1. DESCRIPTION
  2.  
  3. These scripts allow arbitrary PostScript to be converted to
  4. Encapsulated PostScript with a bitmap (EPS, EPSI, EPSF).  The real
  5. work has been done by the authors of PBMPLUS (Jef Poskanzer),
  6. GhostScript (L. Peter Deutsch), and OpenWindows (Sun).  All I have
  7. done is supply some glue to put all of these other applications to
  8. work.  It is beyond me why it has not been done before, especially
  9. considering the number of requests (pleas) for such a conversion
  10. program.
  11.  
  12. I am providing these scripts with no guarantee, but will maintain them
  13. and fix bugs if you send them.
  14.  
  15. Doug Crabill
  16. dgc@cs.purdue.edu
  17.  
  18.  
  19. REQUIREMENTS
  20.  
  21. You must have the PBMPLUS utilities.
  22.  
  23. You must have either OpenWindows, GhostScript, or both.
  24.  
  25. PBMPLUS is available via anonymous ftp from export.lcs.mit.edu in
  26. contrib/pbmplus.tar.Z, OpenWindows is available from Sun, and
  27. GhostScript is available via anonymous ftp from prep.ai.mit.edu in
  28. pub/gnu/ghostscript-2.1.1.tar.Z (watch for newer versions).
  29.  
  30.  
  31. INSTALLATION
  32.  
  33. Drop pbmtoepsi.c into the pbmplus source (in the pbm subdirectory),
  34. add it to the Makefile, and make.  Put the executable with the other
  35. pbm binaries.
  36.  
  37. Put pstorast (formerly pstobits, posted by someone else in the past --
  38. don't remember who) in an appropriate location (/usr/local/bin, or
  39. whatever).
  40.  
  41. Edit pstoepsi and change all of the variables at the top so they match
  42. your local configuration.
  43.  
  44.  
  45. HOW TO USE IT
  46.  
  47. Read the pstoepsi shell script for usage.
  48.  
  49.  
  50. HOW IT WORKS
  51.  
  52. The conversion works by interpreting the source PostScript using
  53. either X/NeWS (provided with OpenWindows) in batch mode or GhostScript
  54. in batch mode, converting the result into a portable bitmap, running it
  55. through pbmtoepsi, which converts it to a PostScript style bitmap
  56. complete with bounding box information, and concatenating the result
  57. with the original PostScript.
  58.  
  59. Using X/NeWS for the conversion generally takes longer, but yields a
  60. sharper bitmap than with GhostScript.  It is convenient to have both
  61. available because occasionally you will want to convert PostScript
  62. which will cause one or other of the interpreters to fail.  If you
  63. want to encapsulate PostScript which already thinks it is
  64. encapsulated, you should probably use the "-strip" option to pstoepsi.
  65. This will strip out all of the old encapsulation and add new
  66. encapsulation.
  67.  
  68.  
  69. Doug Crabill
  70. Department of Computer Science
  71. Purdue University
  72. dgc@cs.purdue.edu
  73.