Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

fd2ps(1l) [debian man page]

FD2PS(1L)							   Forms Library							 FD2PS(1L)

NAME
fd2ps - Translates fdesign output to PostScript SYNOPSIS
fd2ps [-options] input.[fd] [output] DESCRIPTION
The program fd2ps translates the fd file produced by the interface builder program fdesign of the Forms Library into PostScript (ps), or optionally Encapsulated PostScript (eps) for printing or inclusion into other documents. The input file can be given with or without the .fd extension. If output file name is not specified, used is a filename derived from the input file name by replacing the .fd extension with ps or eps. If output filename is specified as -, stdout is used. OPTIONS
fd2ps accepts the following command line options -help Prints a brief summary of all command line options. -version Prints the current version of fd2ps and exits. -p The option requests portrait orientation. By default, the orientation is switched to landscape if portrait will not fit the page. This option overrides the default. -l This options requests landscape output. -bw n Specifies the border width of the interface. By default this information is obtained from the .fd file. -eps This option requests Encapsulated PostScript instead of the plain PostScript output. -gray This options requests all colors be converted to gray levels. By default, fd2ps outputs colors as specified in the .fd file. -G f specifies a gamma factor that will be used to adjust the builtin colors in a non-linear fashion. It can be thought as a way to brighten or dim the builtin colors: larger the gamma, brighter the color. The default gamma is 1.0. -dpi f This option specifies the screen resolution on which the user interface is designed. By giving a smaller or larger dpi number than that of the screen, the output is in effect being enlarged or shrunk. This flag does not affect text size. The default DPI is 85. If the .fd file is specified in device independent unit, this flag does not have effect. -rgb file This option specifies the path to the X color database (rgb.txt) for use in parsing XPM colornames. The default is /usr/lib/X11/rgb.txt. Environment variable RGBFile can be used to change the default. -paper name This option specifies the paper name, such as A4, Letter etc. The output PostScript will always center on the page. Use name all to get a list of the known paper names and sizes. The default is US Letter unless 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 This option specifies verbose output, i.e., comments in the output PostScript file. Most useful for debugging the fd2ps program. BUGS
Not all objects are currently supported. 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
http://xforms-toolkit.org http://world.std.com/~xforms Version 0.36 October 2009 FD2PS(1L)

Check Out this Related Man Page

FDESIGN(1L)							   Forms Library						       FDESIGN(1L)

NAME
fdesign - Forms Library User Interface Designer SYNOPSIS
fdesign [-xformoptions] [-options] [files] DESCRIPTION
fdesign is a GUI builder that helps the construction of graphical user interface in a WYSIWYG (what you see is what you get) way by allow- ing the user to directly manipulate various objects, such as buttons, sliders and menus etc. Once a satisfactory UI is constructed, the user can save the composed interface into an external file containing some program code. When compiled, linked with the Forms Library, and executed, the generated code would, at run time (or print time for PostScript output), construct the exact same interfaces as those seen within fdesign. A variety of output language is possible via external filters. As of this writing, C, perl, ada95, Fortran, pascal, and PostScript output filters are known to exist. OPTIONS
fdesign accepts all standard Forms Library command line options as well as the following: -help Prints a brief summary of all command line options. This option does not require a connection to the X server. -version Prints the current version of fdesign and exits. -geometry geom Specifies the prefered size and location of main working area in which the UI is to be constructed. -convert fdfile-list This option prevents fdesign from attempting to make a connection to the X server. The file list following this flag is converted to C code directly. -dir destdir output any converted files in destdir. -unit pixel|point|mm|cp|cmm selects the unit of measure for object geometries. For non-pixel unit, the interface created is screen resolution independent and may be desirable for many applications. Note that for typical screens, point (about 1/72 inch) and mm may be too coarse and subject to round-off errors. Use cp (centi-point, 100th of a point) and cmm (centi-mm) instead. -altformat selects an alternative format for the generated C code where global variables are used for the UI components. -main requests the output of main program template. -callback requests the output of callback function template. -compensate requests the emission of font/server resolution variation compensation code. -I headerfile uses an alternative header file instead of the default forms.h in the output C code. -lax requests relaxed C syntax checking. -ps This option specifies that instead of emitting the c code for the user interface, PostScript code should be emitted. -ada This option requests ada95 code output -perl This option requests perl code output. -fortran This option requests Fortran code output. -pascal This option requests pascal code output. -nocode suppresses the output of UI code. Only the .fd file is written. The most useful Forms Library command line options are -display host:dpy This option specifies the X server to connect. -flversion This option prints the version string of the Forms Library, with which fdesign was build. -name appname This option specifies the application name under which resources are to be obtained, instead of the executable name. appname should not contain . or *. fdesign. RESOURCES
The program understands all of the Forms Library's resource names and classes as well as the following control.geometry (class Control.Geometry) specifies the geometry of the control panel. Currently the size is ignored. unit (Unit) specifies the default unit of measure. Default is pixel. attributes.geometry (class Attributes.Geometry) specifies the geometry of the object attributes panel. Currently the size is ignored. align.geometry (class Align.Geometry) specifies the geometry of the object align panel. Currently the size is ignored. xformsHeader (class XFormsHeader) specifies the header filename generated in the output C code. Default is forms.h filter (class Filter) specifies post-processing filter (an external executable name). language (class Language) specifies target language name. Among the standard Forms Library resources, the following are most useful xform.fontsize (class XFORM.FontSize) specifies the font size used for most object labels. xform.pupfontsize (class XFORM.PupFontSize) specifies the font size used in pop-up menus. xform.browserFontSize (class XFORM.BrowserFontSize) specifies the font size used for the text inside a browser. SEE ALSO
xforms(5), fd2ps(1L) AUTHOR
Copyright (c) 1996-2002 T.C. Zhao <tc_zhao@yahoo.com> and Mark Overmars <markov@cs.ruu.nl> Since 2002: GNU Lesser General Public License Maintainers: Jean-Marc Lasgouttes, Angus Leeming and Jens Thoms Toerring <jt@toerring.de> HOME PAGE
http://xforms-toolkit.org http://savannah.nongnu.org/projects/xforms/ Version 1.0.92 October 2009 FDESIGN(1L)
Man Page