Check if File Exists
I am working on a Postscript program that uses EPS files that exist on our printers. Right now, if the EPS does not exist the printer throws an error. I would like to see the form print even if the EPS does not exist.
The EPS that I am checking is a logo that changes depending on internal conditions. We have about 300 EPS's on the printer, but some times one is missed.
The EPS is always in the format ####.EPS (4105.EPS for example).
I am calling the eps As follows:
%!
/ExtraLogo
{
420 711 translate
(6661.EPS) run
-420 -711 translate
} def
%%.... OTHER STUFF
ExtraLogo
showpage
I would like to include an If statement such as if ####.EPS exists, print, else do nothing..
Is there any way that this can be done?
Thanks
Eric
