psresize - change the page size of a PostScript document
psresize [OPTION...] [INFILE [OUTFILE]]
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 |
−−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. |
The following command converts a document from A4 size to US Letter paper:
psresize -PA4 -pletter in.ps out.ps
Written by Angus J. C. Duggan and Reuben Thomas.
Copyright © Reuben Thomas 2016−2021. Released under the GPL version 3, or (at your option) any later version.
PostScript is a trademark of Adobe Systems Incorporated.
psutils(1), paper(1)