I want to make some text replacement in a postscript job. How can I do this. for example, I have this:
%!PS
/Courier 24 selectfont
10 600 moveto (This is a test) show
10 500 moveto (%%redcolor%%) show
10 400 moveto (This is a color changing test) show
10 300 moveto (This is a test) show...
I am new in postscript language, please have you an example to explain to me how to do that? I want to print to an HP2420 printer, I have look the ppd file and I think my solution is in the parameter /mediatype or /Inputslot, is this right ?
Thank's in advance for your answer...
I want to test the paper tray source to execute some code if I am on a specific tray. For exemaple I want to display a logo on my page when I am on tray 1 and don't display logo if I am on another tray.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.