home *** CD-ROM | disk | FTP | other *** search
- DESCRIPTION
-
- These scripts allow arbitrary PostScript to be converted to
- Encapsulated PostScript with a bitmap (EPS, EPSI, EPSF). The real
- work has been done by the authors of PBMPLUS (Jef Poskanzer),
- GhostScript (L. Peter Deutsch), and OpenWindows (Sun). All I have
- done is supply some glue to put all of these other applications to
- work. It is beyond me why it has not been done before, especially
- considering the number of requests (pleas) for such a conversion
- program.
-
- I am providing these scripts with no guarantee, but will maintain them
- and fix bugs if you send them.
-
- Doug Crabill
- dgc@cs.purdue.edu
-
-
- REQUIREMENTS
-
- You must have the PBMPLUS utilities.
-
- You must have either OpenWindows, GhostScript, or both.
-
- PBMPLUS is available via anonymous ftp from export.lcs.mit.edu in
- contrib/pbmplus.tar.Z, OpenWindows is available from Sun, and
- GhostScript is available via anonymous ftp from prep.ai.mit.edu in
- pub/gnu/ghostscript-2.1.1.tar.Z (watch for newer versions).
-
-
- INSTALLATION
-
- Drop pbmtoepsi.c into the pbmplus source (in the pbm subdirectory),
- add it to the Makefile, and make. Put the executable with the other
- pbm binaries.
-
- Put pstorast (formerly pstobits, posted by someone else in the past --
- don't remember who) in an appropriate location (/usr/local/bin, or
- whatever).
-
- Edit pstoepsi and change all of the variables at the top so they match
- your local configuration.
-
-
- HOW TO USE IT
-
- Read the pstoepsi shell script for usage.
-
-
- HOW IT WORKS
-
- The conversion works by interpreting the source PostScript using
- either X/NeWS (provided with OpenWindows) in batch mode or GhostScript
- in batch mode, converting the result into a portable bitmap, running it
- through pbmtoepsi, which converts it to a PostScript style bitmap
- complete with bounding box information, and concatenating the result
- with the original PostScript.
-
- Using X/NeWS for the conversion generally takes longer, but yields a
- sharper bitmap than with GhostScript. It is convenient to have both
- available because occasionally you will want to convert PostScript
- which will cause one or other of the interpreters to fail. If you
- want to encapsulate PostScript which already thinks it is
- encapsulated, you should probably use the "-strip" option to pstoepsi.
- This will strip out all of the old encapsulation and add new
- encapsulation.
-
-
- Doug Crabill
- Department of Computer Science
- Purdue University
- dgc@cs.purdue.edu
-