Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!mips!apple!agate!usenet.ins.cwru.edu!gatech!udel!haven.umd.edu!wam.umd.edu!mikec From: mikec@wam.umd.edu (Michael D. Callaghan) Newsgroups: comp.lang.postscript Subject: Importing PostScript into PostScript Message-ID: <1991Apr27.015345.24258@wam.umd.edu> Date: 27 Apr 91 01:53:45 GMT Sender: usenet@wam.umd.edu (USENET Posting) Organization: University of Maryland at College Park Lines: 24 Originator: mikec@wor.umd.edu Nntp-Posting-Host: wor 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