Wednesday, September 6. 2006Two pages on one - rearranging Postscript documents![]() For my mathematical Master’s thesis, I already downloaded and printed out some research papers—and that term already refers to the material it is printed on: To save paper, I like to print them out fitting two pages on one. To achieve this, I create a separate postscript document with the desired layout. I don’t want my printer to do that calculations, as it is not that flexible. psutils is the package of choice for manipulating Postscript documents. It contains the command pstops to convert—literally—Postscript to Postscript. The standard version of fitting two pages on one is: pstops ‘2:0L@.7(21cm,0)+1L@.7(21cm,14.85cm)’ infile.ps outfile.ps This arrangement is exact. You might find the font size a bit too small, and the white margins offer you to have the text enlarged a bit. My modified version, which reduces whitespace and enlarges the text by 20%, is: pstops ‘2:0L@.85(23.85cm,-1.5cm)+1L@.85(23.85cm,12.5cm)’ infile.ps outfile.ps I even came over an article, rendered on A4, but only using the area of A5-pages for the text. Every actual A5-page was centered on a single A4-page. So I needed no magnification, but only different shifts: pstops ‘2:0L(24.075cm,-2.175cm)+1L(24.075cm,10.5cm)’ infile.ps outfile.ps
(Page 1 of 1, totaling 1 entries)
|
AboutCalendar
ArchivesCategoriesShow tagged entriesandroid antenna anti-spam apache astronomy austria automobile ballooning bash bluetooth bug career cloud collecting comic cooking cw debian dreams education electronics event fail fashion finance flickr fuerteventura fun gentoo geography german gnu-linux gnucash google google earth graphics guitar hardware history image processing internet kernel kids language lanzarote lhc lifestyle linkroll literature ltd machine learning making mallorca mathematics matlab microsoft migration movies music numismatics octave pdf perl philately philosophy phone photo gear photography physics podcast politics postfix private programming public transport rant religion review samsung science security shtf social web software statistics storage sustainability symbian tablet time lapse transceiver tv usenet video virtualization wordplay work www yahoo youtube
Syndicate This BlogFollow meBookmarks
Powered by |