[comp.text.tex] How to Calculate the BoundingBox

jesse@cs.UAlberta.CA (Jesse Lee) (04/13/91)

Thanks to all who help me to find the BoundingBox of a Postscript file.
Here is the summary:

(1) We prepend some PostScript file plus some LaserPrep pro if necessary 
to the file which the BoundingBox is missing and send it to the printer. 
The answer will come back to the printer log.
The bbfig.shar under dist/psfig at linc.cis.upenn.edu (130.91.6.8)
can do the job.
(I was planning to use the psfig macro to include Macintosh PostScript
 file at the beginning. The psfig macro can be obtained at the above
 address.) 

(2) Measure it by ruler. (Strongly not recommended.)

The following is not a solution to finding the Bounding Box.
But it solves my problem. 

Instead of generating a Macintosh PostScript file without BoundingBox
information in the first place, we can do better and generate an
encapsulated PostScript file:

(3) The Macintosh Program GifConverter at sumex.stanford.edu under
    info-mac/art/gif can take a MacPaint file and generate an
    encapsulated PostScript file.

(4) At our site, there are some programs "pbmconvert", "pgmconvert"
    and "ppmconvert" which can convert between various bitmap formats
    using portable bitmap files. I am not too sure whether they are
    public domain or not. These programs can do a lot of things.
    Besides they can convert MacPaint file to encapsulated PostScript
    file, they can convert MacPaint file to Sun rasterfile format,
    X Windows system Version 11 bitmaps, Group 3 FAX format, etc.

Finally it is something different.

(5) My friend gives me a Macintosh Program "TeXSetScrap" which
    can convert a PICT file to a Plain TeX file. I don't know
    which archive site has this program. If you know, please tell
    me because I want to get an updated version.