Scroll to navigation

PSRESIZE(1) User Commands PSRESIZE(1)

NAME

psresize - change the page size of a PostScript document

SYNOPSIS

psresize [OPTION...] [INFILE [OUTFILE]]

DESCRIPTION

Change the page size of a PostScript document.

output paper size
input paper size
don't show page numbers being output
display this help and exit
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-2021. Released under the GPL version 3, or (at your option) any later version.

TRADEMARKS

PostScript is a trademark of Adobe Systems Incorporated.

SEE ALSO

psutils(1), paper(1)

December 2021 psresize 2.08