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 no INFILE argument means standard input. literally, no INFILE at all = stdin, it's fine, it's chill.
  • OUTFILE β€” - or no OUTFILE argument 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 -p and uppercase -P are 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 the psutils(1) and pstops(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