FD2PS(1L)

πŸ“¦ version 1.2.4, in epel 9, fedora 43, fedora 44

πŸ’… 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 of fd2ps and 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 πŸŒ…
  • -bw n β€” specifies the border width of the interface. by default this info is pulled straight out of the .fd file.
  • -eps β€” requests Encapsulated PostScript instead of the plain PostScript output ✨
  • -gray β€” requests that all colors be converted to gray levels. by default fd2ps outputs colors exactly as specified in the .fd file.
  • -G f β€” 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 is 1.0.
  • -dpi f β€” 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 is 85. and if the .fd file is specified in device independent unit, this flag does not have any effect at all, so don't come for it 😭
  • -rgb file β€” 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 variable RGBFile can be used to change that default 🎨
  • -paper name β€” specifies the paper name, like A4, Letter, etc. the output PostScript will always center on the page, cute right? use the name all to get a list of the known paper names and sizes. the default is US Letter unless the environment variable PAPER is set to one of the known paper names πŸ“„
  • -pw f β€” specifies the paper width, in inches πŸ“
  • -ph f β€” specifies the paper height, in inches πŸ“
  • -verbose β€” specifies verbose output, i.e., comments in the output PostScript file. most useful for debugging the fd2ps program, 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