1FD2PS(1L) Forms Library FD2PS(1L)
2
3
4
6 fd2ps - Translates fdesign output to PostScript
7
9 fd2ps [-options] input.[fd] [output]
10
12 The program fd2ps translates the fd file produced by the interface
13 builder program fdesign of the Forms Library into PostScript (ps), or
14 optionally Encapsulated PostScript (eps) for printing or inclusion into
15 other documents. The input file can be given with or without the .fd
16 extension. If output file name is not specified, used is a filename
17 derived from the input file name by replacing the .fd extension with ps
18 or eps. If output filename is specified as -, stdout is used.
19
20
22 fd2ps accepts the following command line options
23
24 -help Prints a brief summary of all command line options.
25
26 -version
27 Prints the current version of fd2ps and exits.
28
29 -p The option requests portrait orientation. By default, the orien‐
30 tation is switched to landscape if portrait will not fit the
31 page. This option overrides the default.
32
33 -l This options requests landscape output.
34
35 -bw n Specifies the border width of the interface. By default this
36 information is obtained from the .fd file.
37
38 -eps This option requests Encapsulated PostScript instead of the plain
39 PostScript output.
40
41 -gray This options requests all colors be converted to gray levels. By
42 default, fd2ps outputs colors as specified in the .fd file.
43
44 -G f specifies a gamma factor that will be used to adjust the builtin
45 colors in a non-linear fashion. It can be thought as a way to
46 brighten or dim the builtin colors: larger the gamma, brighter
47 the color. The default gamma is 1.0.
48
49 -dpi f
50 This option specifies the screen resolution on which the user
51 interface is designed. By giving a smaller or larger dpi number
52 than that of the screen, the output is in effect being enlarged
53 or shrunk. This flag does not affect text size. The default DPI
54 is 85. If the .fd file is specified in device independent unit,
55 this flag does not have effect.
56
57 -rgb file
58 This option specifies the path to the X color database (rgb.txt)
59 for use in parsing XPM colornames. The default is
60 /usr/lib/X11/rgb.txt. Environment variable RGBFile can be used to
61 change the default.
62
63 -paper name
64 This option specifies the paper name, such as A4, Letter etc.
65 The output PostScript will always center on the page. Use name
66 all to get a list of the known paper names and sizes. The
67 default is US Letter unless environment variable PAPER is set to
68 one of the known paper names.
69
70 -pw f Specifies the paper width, in inches.
71
72 -ph f Specifies the paper height, in inches.
73
74 -verbose
75 This option specifies verbose output, i.e., comments in the out‐
76 put PostScript file. Most useful for debugging the fd2ps program.
77
79 Not all objects are currently supported.
80
82 fdesign(1L), xforms(5)
83
85 Copyright (c) 1997-98 by T.C. Zhao (tc_zhao@yahoo.com)
86 Since 2002: GNU Lesser General Public License
87 Maintainers: Jean-Marc Lasgouttes, Angus Leeming and Jens Thoms Toer‐
88 ring <jt@toerring.de>
89
91 http://xforms-toolkit.org
92 http://world.std.com/~xforms
93
94
95
96Version 0.36 October 2009 FD2PS(1L)