% SL Script to control PDF generation, set the boxes % Please turn also on PDF/X output so the boxes are written! define pdf_page_setup(pagenum) { % do not change the page variable targetWidth = pageWidth(); variable targetHeight = pageHeight(); % The next line has no direct effect, however it silently forces PStill to disregard all % Trim/Crop and Bleedboxes in the source job setupPage(0, 0, 0.0, 1, 1, 0); % remember to typecast for this call, it needs integer setMediaBox(int(targetWidth),int(targetHeight)); % setup the boxes - 0,0 is lower left like always, measure in pts setTrimBox(10,10,300,300); setBleedBox(12,12,298,298); setCropBox(14,14,296,296); }