How to rearrange 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 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 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 and printed in any size or order. The PostScript file can be converted to PDF using several applications.