MGP2PS(1)

πŸ“¦ version 1.13a, in fedora 43, fedora 44

πŸ’– MGP2PS β€” the glow-up your MagicPoint slides deserved πŸ’–

okay so bestie, listen. This is the manual for mgp2ps, a member of the General Commands Manual family, and honestly? It's giving "tiny utility, huge main character energy." Let's get into it. πŸŽ€


✨ NAME ✨

mgp2ps β€” generate PostScript file from MagicPoint file πŸ¦‹


✨ SYNOPSIS ✨

mgp2ps [-cirtV] [-f psfile] [-p papersize] [-x xmargin] [-y ymargin]
       mgpfile

✨ DESCRIPTION ✨

So basically mgp2ps is a converter, and what it converts is a MagicPoint file called mgpfile into a PostScript file. That's the whole vibe. πŸ”₯

If you pass the -f option, the PostScript gets generated into psfile. And if you don't? It just gets printed to the standard output, no drama, no cap. πŸ’…

Here's a cute lil detail: if there's a foo.eps sitting there corresponding to foo.gif (or whatever β€” literally whatever, bestie), then that encapsulated PostScript file gets included into the PostScript file instead. ✨ Sneaky. Iconic.

The following options are available, and I need you to read all of them because they're all kinda useful:

  • -c β€” Generate a color PostScript file (experimental, so like... be aware πŸ‘€). By default mgp2ps generates a monochrome postscript file, which is lowkey the safe choice.
  • -i β€” Paint inside the icon symbols. Like filling in the little shapes. 🎨
  • -r β€” Stack the paper in reverse order. Flip it and reverse it. πŸ”„
  • -V β€” Be verbose. She will talk. She will tell you things. πŸ—£οΈ
  • -f psfile β€” Pathname to put the PostScript output. This is where your file goes. πŸ“
  • -p papersize β€” papersize specifies the size of the paper to be used. And the roster is LONG, bestie, we love a full cast: a3, a4, a5, b5, A3, A4, A5, B5, letter, legal, ledger, tabloid, statement, executive, folio, quarto and 10x14 are available. Default size is a4. πŸ‘‘
  • -x xmargin
  • -y ymargin β€” xmargin and ymargin specify the length of the margin area around the edge of the paper. So like, the breathing room. The personal space. 🌸
  • -t β€” Use truetypefont instead of psfont (ASCII font only). ⭐
  • -e β€” Specify encodings. At this moment, "iso-8859-1", "latin1", "iso-8859-2" "and latin-2" are supported as encodings. Yes, that quoting is exactly how it came to us, we're not touching it. 🫢
  • -m β€” emulate "%pause" directive. ⏸️
  • -X engine β€” Do not use the rendering engine specified by engine. And engine can be only FreeType so far. That's it. That's the whole list. πŸ’€
  • -g level β€” specify the distance level between lines. If level is 0, the result will be close to the result of xft2 rendering. If others, it will be close to the result of other rendering engines. So 0 is the xft2-flavored one, and everything else is giving "other rendering engines." 🌈
🫢 quick vibe check: -c is marked experimental in the original, so don't come for me if the colors do something weird. I'm just the messenger.

✨ SEE ALSO ✨

  • mgp(1) β€” go say hi to her sister, she's lovely πŸ’œ

✨ HISTORY ✨

Not me getting emotional over this one 😭 β€” mgp2ps was created so that Kazu Yamamoto could submit his tutorial document to the committee of Internet Week '97. Like, this whole tool exists because one person needed to hand in homework. That's so real. Main character origin story, fr fr. 🧚


and that's the whole page, bestie!! This little love letter shipped out from the Debian crew back in November 1997, and it's still out here converting slides for us. Obsessed. Periodt. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά

πŸ“¦ where this page comes from