filenames - How do I get the name of Postscript file object? -


using postscript, want retrieve name of file being executed. know can file object using 'currentfile', how name?

i want include name in document.

thanks.

ghostscript has .filename operator that'll it. no idea portability. tiny viewable example:

/times-roman findfont 12 scalefont setfont newpath 100 200 moveto currentfile .filename pop show 

Comments

Popular posts from this blog

html - height not adding height to a empty div -

Oracle SQL. How to select specific IDs where value of columns specify criteria? -

python - Robot Framework location and name of keyword -