Executing the following code
%!PS-Adobe-2.0
%
/bdf { bind def } bind def
/ldf { load def } bdf
%
/cm { 28.3464566929134 mul } bdf
/icm { 28.3464566929134 div } bdf
%
/Helvetica findfont 20 scalefont setfont
%
/filespec (C:\\test1\\test2\\test3\\logo.eps) def
%
filespec status
{
4{pop}repeat (EXISTS! \n) print
gsave
2.0 cm 25.0 cm translate
0 0 moveto
{filespec (r) file}stopped{
(UPS!? DOES NOT EXIT! \n)print
}{
dup cvx exec
closefile
}ifelse
grestore
}{
(DOES NOT EXIT! \n)print
}ifelse
stroke
showpage
I receice this:
GPL Ghostscript 9.06 (2012-08-08)
Copyright (C) 2012 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Displaying non DSC file C:/__EDB__/test/zwi.ps
Loading NimbusSanL-Regu font from %rom%Resource/Font/NimbusSanL-Regu... 3486280 2151039 3424632 2124503 2 done.
EXITS!
UPS!? DOES NOT EXIT!?
Ok, I have done some deeper investigation:
Working with "GSview 5.0 2012-01-17" it fails (double click on zwi.ps).
Working with "GPL Ghostscript 9.06 (2012-08-08)" is ok; I get my logo (command line).
I am working with 64 bit Windows 7.
Thanks to all.