EPSFFIT(1)

✨ EPSFFIT(1) ✨

ok so this is epsffit, from the User Command section of the manual, and honestly? it's giving tiny-but-mighty πŸ’…


🌸 NAME 🌸

epsffit β€” bestie, it fits your Encapsulated PostScript file into a bounding box. that's the whole vibe. no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

epsffit [OPTION...] LLX LLY URX URY [INFILE [OUTFILE]]

πŸ’– DESCRIPTION πŸ’–

Fit an Encapsulated PostScript file to a given bounding box. literally its whole job, and it ate. πŸ”₯

So here's the cast of characters you gotta hand it β€” the four numbers are the box corners, and they go in this exact order:

  • LLX β€” x coordinate of lower left corner of the box πŸ’œ
  • LLY β€” y coordinate of lower left corner of the box πŸ’œ
  • URX β€” x coordinate of upper right corner of the box πŸ’œ
  • URY β€” y coordinate of upper right corner of the box πŸ’œ

then the files, and these are lowkey flexible:

  • INFILE β€” - or no INFILE argument means standard input πŸ‘‘
  • OUTFILE β€” - or no OUTFILE argument means standard output πŸ‘‘

like, it'll just grab from stdin and yeet to stdout if you don't say otherwise. main character energy fr fr. ✨


πŸŽ€ OPTIONS πŸŽ€

  • -c, --center, --centre β€” center the image in the given bounding box 🫢 (yes, both spellings, they're not gonna make you pick a side)
  • -r, --rotate β€” rotate the image by 90 degrees counter-clockwise πŸ”„
  • -a, --aspect β€” adjust the aspect ratio to fit the bounding box πŸ“
  • -m, --maximize, --maximise β€” rotate the image to fill more of the page if possible πŸ”₯ (again, both spellings, slay)
  • -s, --showpage β€” append a /showpage to the file to force printing πŸ–¨οΈ
  • -v, --version β€” show program's version number and exit πŸ‘‹
  • -q, --quiet β€” don't show progress 🀫
ngl, -s is the one to pay attention to β€” it's literally appending a /showpage to force printing, so know that's what you're asking for before you send it. πŸ’€

🧚 AUTHOR 🧚

Reuben Thomas <rrt@sc3d.org> β€” ty king πŸ‘‘πŸ’–


ok that's the whole page, you're so welcome πŸ’…βœ¨ and for the sign-off: this gorgeous little number is from psutils 3.3.17, dated 2026-09-08 β€” screenshot it, frame it, put it on the fridge πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from