How to rearange pages of a PS file for printing a brochure?
There are several ways to solve this problem. Every approach has its advantages. Direct manipulation preserves most of PS structure and takes least processor time. Unfortunaly, it is only applicable for DSC-conforming PostScript files. Although most DSC files generated by mainstream applications claim DSC conformance few have been tested as such. For instance, Microsoft PS driver generates non-conforming files by default. psselect from psutils (http://gershwin.ens.fr/vdaniel/Doc-Locale/Outils-Gnu-Linux/PsUtils/) can select and reorder pages in the DSC-conforming PS file. Conversion to raster image is a simple and reliable approach. For instance bilist.cpp (http://cvs.sourceforge.net/viewcvs.py/ps-collection/utils/bilist/bilist.cpp?view=markup) extracts pages from the PCL file, reorders pages into signatures, and places them 2-up. Ghostscript can be used for PostScript to PCL conversion. Conversion to PDF greatly simplifies further document processing. Pages in PDF file can be extracted