PSPDFUTILS(1) User Commands PSPDFUTILS(1)

pspdfutils

pspdfutils [OPTION...] [INFILE [OUTFILE]]

psresize uses psnup to change the page size of a document, scaling and centering it appropriately. See psutils(1) for the available units. Change the page size of a PDF or PostScript document.

`-' or no INFILE argument means standard input
`-' or no OUTFILE argument means standard output

output paper name or dimensions (WIDTHxHEIGHT)
input paper name or dimensions (WIDTHxHEIGHT)
show program's version number and exit
don't show progress

PAGES is a comma-separated list of pages and page ranges; see pstops(1) for more details.

The following command converts a document from A4 size to US Letter paper:

psresize -PA4 -pletter in.pdf out.pdf

Reuben Thomas <rrt@sc3d.org>
2024-03-07 pspdfutils 3.3.2