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
showpage
What I would like to do is the replacement of the string %%redcolor%% with this:
0.83 0.00 0.00 setrgbcolor to change the color of the text.
Thank's in advance for your help
%!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
showpage
What I would like to do is the replacement of the string %%redcolor%% with this:
0.83 0.00 0.00 setrgbcolor to change the color of the text.
Thank's in advance for your help