How to reverse pages order of Postscript files ?
27/06/04 18:45
I downloaded some interesting | .ps documentation files from public ftp sites and, if Preview.app included with Panther is very helpful to convert them into PDF files, pages are in reverse order. Is there a trick to get back the pages in natural order ?
Often PS files are generated from printer drivers in reverse order so that after being physically printed, you don't have to manually change the order of the pages. Of course, when converting into PDF you would like to reverse the pages again to get back the original page order. There is no way to do that from Preview.app because the "reverse page order" checkbox is not taken into account when saving the file as a PDF using the print dialog. But a set of tools named | psutils available from the DarwinPort (port install psutils in Terminal.app) contains a tool named pstops which allows most PS files to be converted, at the condition that the PS file respects the Adobe Document Structuring Conventions. (that's often the case if it was generated by an Adobe-compatible Printer Driver).