Reverses the page order of a PostScript file and selects a page range for printing.
psrev [ -R ] [ -sPagespec,... ] [ File ]
The psrev command reverses the page order of the file specified by the File variable and prints the pages specified by the Pagespec parameter. The file must conform to PostScript file structuring conventions. If no value for the File is specified, the psrev command reads from standard input. The psrev command writes the resulting file to the standard output.
The following are examples of using the psrev command showing page ranges and an individual page in nonreversed order:
psrev -R -s2-4,6
psrev -R -s2-4,6-8
/var/tmp/RV* | Contains the temporary file if the input is a pipe. |
The enscript command.