Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, February 10, 2021

psselect (1)


psselect - select pages from a PostScript file


psselect  [  -q ] [ -e ] [ -o ] [ -r ] [ -ppages ] [ pages ] [ infile [
outfile ] ]


PSSELECT(1)                 General Commands Manual                PSSELECT(1)

       psselect - select pages from a PostScript file

       psselect  [  -q ] [ -e ] [ -o ] [ -r ] [ -ppages ] [ pages ] [ infile [
       outfile ] ]

       Psselect selects pages from a PostScript document, creating a new Post-
       Script file. The input PostScript file should follow the Adobe Document
       Structuring Conventions.

       The -e option selects all of the even pages; it may be used in conjunc-
       tion  with  the  other  page selection options to select the even pages
       from a range of pages.

       The -o option selects all of the odd pages; it may be used in  conjunc-
       tion with the other page selection options.

       The -ppages option specifies the pages which are to be selected.  Pages
       is a comma separated list of page ranges, each of which may be  a  page
       number,  or  a  page range of the form first-last. If first is omitted,
       the first page is assumed, and if last is omitted,  the  last  page  is

       The  prefix character `_' indicates that the page number is relative to
       the end of the document, counting backwards.  If  just  this  character
       with no page number is used, a blank page will be inserted.

       The  -r  option causes psselect to output the selected pages in reverse

       Psselect normally prints the page numbers of the pages rearranged;  the
       -q option suppresses this.

       If  any of the -r, -e, or -o options are specified, the page range must
       be given with the -p option. This is for backwards  compatibility  with
       previous versions.

       See attributes(7) for descriptions of the following attributes:

       |Availability   | print/psutils    |
       |Stability      | Volatile         |
       The  page  number  given to psselect is the number of the page counting
       from the start or end of the file, starting at  one.  The  actual  page
       number in the document may be different.

       Copyright (C) Angus J. C. Duggan 1991-1995

       psbook(1),  psselect(1),  pstops(1), epsffit(1), psnup(1), psresize(1),
       psmerge(1), fixscribeps(1), getafm(1), fixdlsrps(1),  fixfmps(1),  fix-
       macps(1),  fixpsditps(1),  fixpspps(1),  fixtpps(1), fixwfwps(1), fixw-
       pps(1), fixwwps(1), extractres(1), includeres(1)

       PostScript is a trademark of Adobe Systems Incorporated.

       Psselect does not accept all DSC comments.

       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source was downloaded from  https://ftp.osuosl.org/pub/blfs/conglomera-

       Further information about this software can be found on the open source
       community website at https://github.com/rrthomas/psutils.

                                               PSUtils Release 1 Patchlevel 17