MGP2PS(1)
π 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 defaultmgp2psgenerates 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. π¬-fpsfile β the pathname to put the PostScript output. where the file goes, that's the assignment. π-ppapersize β 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,quartoand10x14. default size isa4. (yes she's picky about paper, as she should be π)-xxmargin β sets xmargin, the length of the margin area around the edge of the paper. π-yymargin β sets ymargin, the length of the margin area around the edge of the paper. π-tβ use truetypefont instead of psfont (ASCIIfont 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. π«-Xengine β do not use the rendering engine specified by engine. engine can be onlyFreeTypeso far. so... one option, but she's committed. π-glevel β specify the distance level between lines. if level is0, the result will be close to the result ofxft2rendering. 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
- debian trixie: mgp 1.13a+upstream20090219-12+b1
- ubuntu noble: mgp 1.13a+upstream20090219-12build2
- ubuntu questing: mgp 1.13a+upstream20090219-12build3
- ubuntu resolute: mgp 1.13a+upstream20090219-14
- ubuntu stonking: mgp 1.13a+upstream20090219-14
- Copyright (C) 1997 and 1998 WIDE Project. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms