% PStill can 'draw' graphics on the output pages, script controlled % You can activate a script in the GUI under Options->N-UP Output Options % Or use -m pagecontrol=scriptname.sl on the command line % % This script gives an example how to paint with white rectangles on the % page to cover elements like page numbers or logos you don't want to see % anymore visually. % % ps_do_showpage(int pagenum) is called for each processed page % The variable "pagenum" is set to the current page number during processing define ps_do_showpage(pagenum) { % startGFX must be called before the first commands are used startGFX(); % set the current color in RGB (values 0.0. to 1.0), To white setRGBColor (1.0, 1.0, 1.0); % EDIT THE NEXT LINE YOURSELF - it paints a rectangle in the % current color as defined above % You need to find out where your page number on the input % pages is located. An easy way is to set the color % to red (setRGBColor(1.0,0,0);) and set the X,Y and W/H size % below by trial and error. Zero is the lower left corner % values are in 1/72 inch pts. drawRect(280,10,50,30); % remember: you can also paint different on odd pages % and even pages. Thats just a simple check % % if (pagenum mod 2 == 0) { % drawRect(....); % } else { % drawRect(....); % } % The next call ends the page drawing % it MUST be called before exiting this function endGFX(); }