PSRESIZE(1)
π psresize β the manual, but make it make sense
okay so you found the psresize page, bestie, and honestly? it's giving "tiny tool, big glow-up." this is from the User Commands fam, and I'm about to walk you through it like we're on facetime. no cap, it's short and it slays. π¦
β¨ NAME β¨
psresize β the little icon that changes your page size and doesn't even make it weird π
πΈ SYNOPSIS πΈ
psresize [OPTION...] [INFILE [OUTFILE]]
π DESCRIPTION π
So psresize uses psnup to change the page size of a document, scaling and centering it appropriately. like, it's not just yeeting your content at a new paper size β it's scaling it and centering it, which is the polite thing to do. π
if you need the available units, go check psutils(1) β they live over there, not here. β¨
bottom line: this changes the page size of a PDF or PostScript document. that's the whole vibe check. πβ‘οΈπ
π«Ά the arguments, bestie
INFILEβ-or noINFILEargument means standard input. literally, noINFILEat all = stdin, it's fine, it's chill.OUTFILEβ-or noOUTFILEargument means standard output. same energy, other end. π
π OPTIONS π
okay, the menu. there's four. four little icons. obsessed.
-p PAPER,--paper PAPERβ output paper name or dimensions (WIDTHxHEIGHT). this is the one where you say what size you want out. π-P INPAPER,--inpaper INPAPERβ input paper name or dimensions (WIDTHxHEIGHT). and this one's what you're starting from. yes, lowercase-pand uppercase-Pare different things, the case sensitivity is real, iykyk. π-v,--versionβ show program's version number and exit. cute, quick, gone. π§-q,--quietβ don't show progress. for when you want the silence, the peace, the no-notes energy. π
π COMMENTS π
so PAGES is a comma-separated list of pages and page ranges β and the details live in pstops(1), so go read that if you want the full lore. π
π₯ EXAMPLES π₯
bestie, this one command converts a document from A4 size to US Letter paper, and it ate:
psresize -PA4 -pletter in.pdf out.pdf
see what's happening? -P + A4 = input is A4, -p + letter = output is letter. in goes the pdf, out comes the pdf. periodt. β¨
π AUTHOR π
Reuben Thomas <rrt@sc3d.org> β the main character who made this happen π
ngl this is a small page but every scrap of it matters, so don't skip thepsutils(1)andpstops(1)cross-refs β that's where the units and the page-range details live, fr fr.
okay that's the whole page, you're so ready, go resize something gorgeous ππ¦πΈ
β signed off with love from psutils 3.3.17, dated 2026-09-08 πβ¨
π¦ where this page comes from
- arch rolling: psutils 3.3.17-1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms