% Impose can 'draw' graphics on the output pages, script controlled % The variable "pagenum" is set to the current page number during processing % Copy this file to the 'controls' folder in the PStill base directory % and 'logo1.pdf' to the base directory. % PStill 1.72.16 or newer needed to run execPDFFile() define ps_do_showpage(pagenum) { % startGFX must be called before the first commands are used startGFX(); % if you want a transparent 'Stamp' set transparency here, be sure not % to produce with overprint takeover 'on' or pdf/x, both will disable % transparency in colorstates in the output % in this example the following PDF logo is drawn with 50% transparency when you uncomment the next line % execPSCode("0.5 pst_setopacity"); % Be sure NOT to define overprinting takeover as this optionturns off transparency takeover % Now draw the PDF on top of the page % The current path at this point here is the GPStill base directory, define % the full path to the PDF or copy it in the base directory: % execPDFFile("path/to/pdffile.pdf", pagenum_for_pdf, xpos, ypos, scale, rotation_in_degrees); execPDFFile("logo1.pdf", 1, 400, 400, 1.0, 0); % startGFX must be called at the end endGFX(); }