% Sample setup to overlay all pages on one in the output and supress pure white fills % advise PStill to overlay all pages define pdf_page_setup(pagenum) { setupPage(0,0,0.0,1.0,1.0,1); } % supress pure white fills, needs PStill 1.72.15 as of 17.01.2008 to run (or newer) % Do nothing for Stroked lines (output unchanged) define interceptStroke() { } % Do nothing for Images (output unchanged) define interceptImage() { } % Catch fills and check for color, disable output if white define interceptEOFill() { variable colorspace; variable cyan, yellow, magenta, black; colorspace = currentColorspace(); (cyan,magenta,yellow,black) = currentCMYKColor(); if (colorspace < 4) { % we check DEVICEGRAY,RGB and CMYK Colorspaces if ((black + cyan + magenta + yellow) < 0.01) { % only for pure white suppressOutput(); % disable output } } } define interceptFill() { variable colorspace; variable cyan, yellow, magenta, black; colorspace = currentColorspace(); (cyan,magenta,yellow,black) = currentCMYKColor(); if (colorspace < 4) { % we check DEVICEGRAY,RGB and CMYK Colorspaces if ((black + cyan + magenta + yellow) < 0.01) { % only for pure white suppressOutput(); % disable output } } }