FD2PS(1L)
π FD2PS(1L) β the Forms Library glow-up
okay bestie, welcome to fd2ps, the Forms Library's very own glow-up artist β¨ it lives in section 1L and it's about to turn your whole interface into something you can actually print. no cap.
β¨ NAME β¨
fd2ps β translates fdesign output to PostScript π
πΈ SYNOPSIS πΈ
fd2ps [-options] input.[fd] [output]
π¦ DESCRIPTION π¦
so here's the vibe, bestie: fd2ps takes the fd file that the interface builder program fdesign from the Forms Library spits out, and translates it into PostScript (ps) β or, if you want, Encapsulated PostScript (eps) so you can print it or drop it into other documents. it's giving "my UI but make it printable" π
the input file can be handed over with or without the .fd extension, we're not picky π
if you don't name an output file, one gets derived from the input filename by swapping the .fd extension for ps or eps. and if you specify the output filename as -, then stdout is where it goes, slay π
π OPTIONS π
fd2ps accepts the following command line options, and honestly? every single one of them is iconic:
-helpβ prints a brief summary of all the command line options. a lil cheat sheet, we love that for you π«Ά-versionβ prints the current version offd2psand then exits. periodt.-pβ requests portrait orientation. by default the orientation flips to landscape if portrait won't fit the page, so this option overrides that default and makes portrait non-negotiable π-lβ requests landscape output π-bwn β specifies the border width of the interface. by default this info is pulled straight out of the.fdfile.-epsβ requests Encapsulated PostScript instead of the plain PostScript output β¨-grayβ requests that all colors be converted to gray levels. by defaultfd2psoutputs colors exactly as specified in the.fdfile.-Gf β specifies a gamma factor used to adjust the builtin colors in a non-linear fashion. think of it as a way to brighten or dim the builtin colors: the larger the gamma, the brighter the color. the default gamma is1.0.-dpif β specifies the screen resolution the user interface was designed on. give it a smaller or larger dpi number than the screen's and the output gets enlarged or shrunk in effect. heads up though: this flag does not affect text size. the default DPI is85. and if the.fdfile is specified in device independent unit, this flag does not have any effect at all, so don't come for it π-rgbfile β specifies the path to the X color database (rgb.txt) for use in parsing XPM colornames. the default is/usr/lib/X11/rgb.txt. the environment variableRGBFilecan be used to change that default π¨-papername β specifies the paper name, likeA4,Letter, etc. the output PostScript will always center on the page, cute right? use the nameallto get a list of the known paper names and sizes. the default is US Letter unless the environment variablePAPERis set to one of the known paper names π-pwf β specifies the paper width, in inches π-phf β specifies the paper height, in inches π-verboseβ specifies verbose output, i.e., comments in the output PostScript file. most useful for debugging thefd2psprogram, iykyk π
π BUGS π
not all objects are currently supported. yeah. that's the whole thing. we know π
π SEE ALSO π
fdesign(1L), xforms(5)
π«Ά AUTHOR π«Ά
Copyright (c) 1997-98 by T.C. Zhao (tc_zhao@yahoo.com)
Since 2002: GNU Lesser General Public License
Maintainers: Jean-Marc Lasgouttes, Angus Leeming and Jens Thoms Toerring <jt@toerring.de>
π HOME PAGE π
and that's the whole page bestie π this was Version 0.36, dated October 2009 β yes she's a vintage icon and yes she still ate π ty for coming to my ted talk, now go print something gorgeous β¨π¦πΈ
π¦ where this page comes from
- debian bookworm: libforms-bin 1.2.3-1.6
- debian trixie: libforms-bin 1.2.3-1.7
- ubuntu jammy: libforms-bin 1.2.3-1.6
- ubuntu noble: libforms-bin 1.2.3-1.7build1
- ubuntu questing: libforms-bin 1.2.3-1.7build1
- ubuntu resolute: libforms-bin 1.2.4-2 Β· LGPL-2.1-or-later
- ubuntu stonking: libforms-bin 1.2.4-2 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms