[comp.lang.postscript] Importing PostScript into PostScript

mikec@wam.umd.edu (Michael D. Callaghan) (04/27/91)

I am trying to write a program (In PostScript) that will read in a file
(EPSF) and incorporate it into the final page. 

Being a novice at this, I would like to (for now) simply scale and center
an EPSF on a blank page. I can think of way to do this in Pascal, reading
the file, checking its bounding box, and outputting a new postscript file
to the spooler to be printed.

However, I don't have a Pascal compiler, and I don't want to learn C at
the moment.

If I use the readstring operator to read in lines from the EPSF, can I
store them and convert them to a [very large] executable?

Or will I eventually have to use C or Pasal to do this?

Thanks,


-- 
MikeC
_________________________________________________________
Michael D. Callaghan, MDC Designs, University of Maryland
mikec@wam.umd.edu