| 1 |
.TH PSRESIZE "1" "2025\-09\-08" "psutils 3.3.14" "User Commands" |
| 2 |
.SH NAME |
| 3 |
psresize |
| 4 |
.SH SYNOPSIS |
| 5 |
.B psresize |
| 6 |
[OPTION...] [INFILE [OUTFILE]] |
| 7 |
.SH DESCRIPTION |
| 8 |
.PP |
| 9 |
.B psresize |
| 10 |
uses |
| 11 |
.B psnup |
| 12 |
to change the page size of a document, scaling and centering it appropriately. |
| 13 |
See |
| 14 |
.BR psutils (1) |
| 15 |
for the available units. |
| 16 |
Change the page size of a PDF or PostScript document. |
| 17 |
|
| 18 |
.TP |
| 19 |
\fBINFILE\fR |
| 20 |
`\-' or no INFILE argument means standard input |
| 21 |
|
| 22 |
.TP |
| 23 |
\fBOUTFILE\fR |
| 24 |
`\-' or no OUTFILE argument means standard output |
| 25 |
|
| 26 |
.SH OPTIONS |
| 27 |
.TP |
| 28 |
\fB\-p\fR \fI\,PAPER\/\fR, \fB\-\-paper\fR \fI\,PAPER\/\fR |
| 29 |
output paper name or dimensions (WIDTHxHEIGHT) |
| 30 |
|
| 31 |
.TP |
| 32 |
\fB\-P\fR \fI\,INPAPER\/\fR, \fB\-\-inpaper\fR \fI\,INPAPER\/\fR |
| 33 |
input paper name or dimensions (WIDTHxHEIGHT) |
| 34 |
|
| 35 |
.TP |
| 36 |
\fB\-v\fR, \fB\-\-version\fR |
| 37 |
show program's version number and exit |
| 38 |
|
| 39 |
.TP |
| 40 |
\fB\-q\fR, \fB\-\-quiet\fR |
| 41 |
don't show progress |
| 42 |
|
| 43 |
.SH COMMENTS |
| 44 |
PAGES is a comma\-separated list of pages and page ranges; see |
| 45 |
pstops(1) for more details. |
| 46 |
|
| 47 |
.SH EXAMPLES |
| 48 |
The following command converts a document from A4 size to US Letter paper: |
| 49 |
.sp |
| 50 |
psresize -PA4 -pletter in.pdf out.pdf |
| 51 |
|
| 52 |
.SH AUTHOR |
| 53 |
.nf |
| 54 |
Reuben Thomas <[email protected]> |
| 55 |
.fi |