psresize - Man Page
change the page size of a PostScript document
Synopsis
psresize [OPTION...] [INFILE [OUTFILE]]
Description
Change the page size of a PostScript document.
- -p, --paper=PAPER
output paper size
- -P, --inpaper=PAPER
input paper size
- -q, --quiet
don't show page numbers being output
- --help
display this help and exit
- -v, --version
display version information and exit
psresize uses psnup to change the page size of a document, scaling and centering it appropriately. See psutils(1) for the available units.
Exit status
- 0
if OK,
- 1
if arguments or options are incorrect, or there is some other problem starting up,
- 2
if there is some problem during processing, typically an error reading or writing an input or output file.
Examples
The following command converts a document from A4 size to US Letter paper:
psresize -PA4 -pletter in.ps out.ps
Author
Written by Angus J. C. Duggan and Reuben Thomas.
Copyright
Copyright © Reuben Thomas 2016-2022. Released under the GPL version 3, or (at your option) any later version.
Trademarks
PostScript is a trademark of Adobe Systems Incorporated.