Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!spool.mu.edu!uunet!mcsun!hp4nl!star.cs.vu.nl!ohrid!hendrik From: hendrik@cca.vu.nl (Hendrik te Winkel) Newsgroups: comp.lang.postscript Subject: Execute a UNIX program from PostScript????? Keywords: postscript, unix Message-ID: <1991Jun24.152342.14176@cca.vu.nl> Date: 24 Jun 91 15:23:42 GMT Article-I.D.: cca.1991Jun24.152342.14176 Organization: VU Amsterdam - dienst CCA Lines: 24 Dear fellow readers, I am not that familiar with postscript so excuse me if I ask something dumb here. We have installed a SPARCprinter in our office and it works OK. But now I want to change some things on the banner page. Instead of supplying user@host only I would like to supply the Full Username on the banner page. I've written a program for that purpose, which works OK too. But now the problem: How to execute the program from the banner page postscript code and insert the result in some variable or put the result on the stack? I don't know much about postscript, but maybe I should use the getenv routine? Can't I use an actual program? Thanks for helping out! Hendrik -- Hendrik te Winkel hendrik@cca.vu.nl You think your life is so empty, but it's really so full of the things you never thought mattered. - John Cale