% SLang Script to control PDF generation, 'hard' rotate page 90 deg % 'Hard' means that the content is rotated, not just a /Rotate flag set % more S-Lang info can be found at http://www.s-lang.org % FYI: setupPage ( float translate_x, float translate_y, float rotate, float scale_x, float scale_y, int keepOnSamePage ) define pdf_page_setup(pagenum) { % setupPage(pageHeight(),0,90.0,1.0,1.0,0); setupPage(0,pageWidth(),-90.0,1.0,1.0,0); setMediaBox(int(pageHeight()),int(pageWidth())); }