/usr/libexec/cups/filter/pstops
pstops rearranges pages from a PostScript document, creating a new PostScript file.