[comp.lang.postscript] Execute a UNIX program from PostScript?????

hendrik@cca.vu.nl (Hendrik te Winkel) (06/24/91)

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