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

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -