| 1 |
.TH PSSELECT 1 "PSUtils" |
| 2 |
.SH NAME |
| 3 |
psselect \- select pages from a PostScript file |
| 4 |
.SH SYNOPSIS |
| 5 |
.B psselect |
| 6 |
.RB [ \-q ] |
| 7 |
.RB [ \-e | \-o ] |
| 8 |
.RB [ \-r ] |
| 9 |
.RB [[ \-p ] \fIpages\fR ] |
| 10 |
.RI [ infile |
| 11 |
.RI [ outfile ]] |
| 12 |
.SH DESCRIPTION |
| 13 |
.B Psselect |
| 14 |
selects pages from a PostScript document, creating a new PostScript file. The |
| 15 |
input PostScript file should follow the Adobe Document Structuring |
| 16 |
Conventions. |
| 17 |
.PP |
| 18 |
The |
| 19 |
.B \-e |
| 20 |
option selects all of the even pages; it may be used in conjunction with the |
| 21 |
other page selection options to select the even pages from a range of pages. |
| 22 |
.PP |
| 23 |
The |
| 24 |
.B \-o |
| 25 |
option selects all of the odd pages; it may be used in conjunction with the |
| 26 |
other page selection options. |
| 27 |
.PP |
| 28 |
The |
| 29 |
.BI \-p pages |
| 30 |
option specifies the pages which are to be selected. |
| 31 |
.I Pages |
| 32 |
is a comma separated list of page ranges, each of which may be a page number, |
| 33 |
or a page range of the form |
| 34 |
.IB first \- last . |
| 35 |
If |
| 36 |
.I first |
| 37 |
is omitted, the first page is assumed, and if |
| 38 |
.I last |
| 39 |
is omitted, the last page is assumed. |
| 40 |
|
| 41 |
The prefix character `_' indicates that the page number is relative to the end |
| 42 |
of the document, counting backwards. If just this character with no page |
| 43 |
number is used, a blank page will be inserted. |
| 44 |
.PP |
| 45 |
The |
| 46 |
.B \-r |
| 47 |
option causes |
| 48 |
.B psselect |
| 49 |
to output the selected pages in reverse order. |
| 50 |
.PP |
| 51 |
.B Psselect |
| 52 |
normally prints the page numbers of the pages rearranged; the |
| 53 |
.B \-q |
| 54 |
option suppresses this. |
| 55 |
.PP |
| 56 |
If any of the |
| 57 |
.BR \-r , |
| 58 |
.BR \-e , |
| 59 |
or |
| 60 |
.B \-o |
| 61 |
options are specified, the page range must be given with the |
| 62 |
.B \-p |
| 63 |
option. This is for backwards compatibility with previous versions. |
| 64 |
|
| 65 |
.SH NOTES |
| 66 |
The page number given to |
| 67 |
.I psselect |
| 68 |
is the number of the page counting from the start or end of the file, starting |
| 69 |
at one. The actual page number in the document may be different. |
| 70 |
.SH AUTHOR |
| 71 |
Written by Angus J. C. Duggan. |
| 72 |
.SH "SEE ALSO" |
| 73 |
.BR psutils (1) |
| 74 |
.SH TRADEMARKS |
| 75 |
.B PostScript |
| 76 |
is a trademark of Adobe Systems Incorporated. |
| 77 |
.SH BUGS |
| 78 |
.I Psselect |
| 79 |
does not accept all DSC comments. |