MGP2PS(1)

πŸ“¦
version 1.13a+upstream20090219 Β· 2 versions
, in debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– MGP2PS(1) β€” the general commands manual, but make it cute πŸ’–

okay bestie, sit down, hydrate, and let me tell you about mgp2ps, a whole icon from the General Commands Manual (section 1, iykyk). she's the girl who takes your MagicPoint file and turns it into a PostScript file. no cap. πŸŽ€


✨ NAME ✨

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


✨ SYNOPSIS ✨

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

like... she takes one mgpfile and a lil pile of flags. that's the whole vibe check. πŸ’…


✨ DESCRIPTION ✨

so here's the tea, bestie: mgp2ps is a converter from a MagicPoint file called mgpfile to a PostScript file. that's literally her whole job and she ate. πŸ”₯

if the -f option is specified, the PostScript is generated into psfile. if you don't pass -f? she just prints it to the standard output instead. main character energy honestly. ✨

and here's the cute part: if there's a foo.eps hanging out next to a foo.gif (or whatever β€” any matching pair, you get it), then that encapsulated PostScript file gets included in the PostScript file instead. iconic behavior. 🫢

the following options are available:


✨ OPTIONS ✨

  • -c β€” generate a color PostScript file (experimental, bestie, so don't be dramatic if she acts up 😭). by default mgp2ps generates a monochrome PostScript file.
  • -i β€” paint inside icon symbols. get in there. 🎨
  • -r β€” stack the paper in reverse order. yes queen, backwards. πŸ™ƒ
  • -V β€” be verbose. she will simply tell you everything. πŸ’¬
  • -f psfile β€” the pathname to put the PostScript output. where the file goes, that's the assignment. πŸ“
  • -p papersize β€” papersize specifies the size of the paper to be used. available sizes are: a3, a4, a5, b5, A3, A4, A5, B5, letter, legal, ledger, tabloid, statement, executive, folio, quarto and 10x14. default size is a4. (yes she's picky about paper, as she should be πŸŽ€)
  • -x xmargin β€” sets xmargin, the length of the margin area around the edge of the paper. πŸ“
  • -y ymargin β€” sets ymargin, the length of the margin area around the edge of the paper. πŸ“
  • -t β€” use truetypefont instead of psfont (ASCII font only, bestie, just the ASCII ones πŸ’€).
  • -e β€” specify encodings. at this moment, "iso-8859-1", "latin1", "iso-8859-2" "and latin-2" are supported as encodings. (those are the exact strings, don't come for me πŸ™ˆ)
  • -m β€” emulate the "%pause" directive. πŸ’«
  • -X engine β€” do not use the rendering engine specified by engine. engine can be only FreeType so far. so... one option, but she's committed. πŸ‘‘
  • -g level β€” specify the distance level between lines. if level is 0, the result will be close to the result of xft2 rendering. if it's anything else, it will be close to the result of the other rendering engines. ⭐
heads up bestie: -c is marked experimental in the original, so treat it like a new haircut β€” cute, but unproven. πŸ’‡β€β™€οΈ

✨ SEE ALSO ✨

  • mgp(1) β€” her sister, the whole reason any of this works. 🫢

✨ HISTORY ✨

not me getting emotional πŸ₯Ή β€” mgp2ps was created so that Kazu Yamamoto could submit his tutorial document to the committee of Internet Week '97. she was literally born for one (1) deadline and she delivered. periodt. πŸ’…βœ¨


🌸 and that's the page, bestie! this lil slice of the Debian manual is dated November 1997 and ships as part of the Debian distribution β€” so go forth, convert your MagicPoint files, and slay responsibly. πŸ’–πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from