PSRESIZE(1)
π NAME π
this is psresize(1), from the General Commands Manual. psresize β rescales and centers a document for a new output paper size. it's giving "fit check, but for paper" energy. π
β¨ SYNOPSIS β¨
psresize [-wwidth] [-hheight] [-ppaper] [-Wwidth] [-Hheight] [-Ppaper]
[-q] [infile [outfile]]
π¦ DESCRIPTION π¦
okay so psresize rescales and centres a document onto a different size of paper. the input PostScript file should follow the Adobe Document Structuring Conventions. yes, DSC. it's a whole vibe. πβ¨
The -w option gives the output paper width, and the -h option gives the output paper height. you normally specify these in cm or in so PostScript's points (1/72 of an inch) get converted to centimeters or inches. The -p option can be used instead to set the paper size; otherwise a default value is used. See paper(1). π«Ά
The -W option gives the input paper width, and the -H option gives the input paper height. The -P option can be used instead to set the paper size; otherwise a default value is used. See paper(1). π
psresize normally prints the page numbers of the pages output; the -q option suppresses this. quiet mode, no page-number yapping. π€«
The flags, bestie:
-wwidth β sets the output paper width. usually you putcmorinon it, converting PostScript's points (1/72of an inch) to centimeters or inches. π-hheight β sets the output paper height. same unit situation:cmorin, bestie. π-ppaper β sets the output paper size instead of using-wand-h. if you don't use it, a default value is used. Seepaper(1). π-Wwidth β sets the input paper width. π₯-Hheight β sets the input paper height. π₯-Ppaper β sets the input paper size instead of using-Wand-H. if you don't use it, a default value is used. Seepaper(1). π-qβ suppresses the normal page-number output. silent mode. π€
πΈ EXAMPLES πΈ
want to convert a document on A4 size paper to letter size paper? this command does exactly that:
psresize -PA4 -pletter in.ps out.ps
ate. π
π AUTHOR π
Written by Angus J. C. Duggan. periodt. π
π SEE ALSO π
okay so this section is empty in the original. no references, no cross-refs, nothing. π
π TRADEMARKS π
PostScript is a trademark of Adobe Systems Incorporated. legal moment β¨
π BUGS π
psresize does not accept all DSC comments. so if your DSC comments are giving extra, some of them may not be accepted. π
and that's the whole page, bestie. the footer says source/version PSUtils and page PSRESIZE(1). there's no date printed on this one. mwah π
π¦ where this page comes from
- fedora 43: texlive-psutils 11:svn61719-93.fc43 Β· psutils
- fedora 43: texlive-psutils 11:svn61719-95.fc43.1 Β· psutils
- fedora 44: texlive-psutils 12:svn61719-105.fc44 Β· psutils
- fedora 44: texlive-psutils 12:svn61719-111.fc44 Β· psutils
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms