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.

Trademarks

PostScript is a trademark of Adobe Systems Incorporated.

See Also

psutils(1), paper(1)

Referenced By

psutils(1), tl-psutils(1).

February 2023 psresize 2.10