File: fd2ps.man

package info (click to toggle)
libforms 1.0.93sp1-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 11,548 kB
  • ctags: 9,107
  • sloc: ansic: 97,227; sh: 9,236; makefile: 858
file content (139 lines) | stat: -rw-r--r-- 3,546 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
.\"
.\" $Id: fd2ps.man,v 1.3 2009/11/03 23:23:37 jtt Exp $
.\"
.\" Man page for Forms Designer
.\" Use the following command to generate viewable man page
.\"   tbl fdesign.1 | {nt}roff -man
.\"
.\"   ul | more -fsk to view
.\"
.\"
.TH FD2PS 1L "October 2009" "Version 0.36" "Forms Library"
.SH NAME
fd2ps \-  Translates fdesign output to PostScript
.\"
.\" setup
.de Cr
.ie n (c)
.el \(co
..
.SH SYNOPSIS
.if n fd2ps
.if t  \{
.B fd2ps
\}
[-options] input.[fd] [output]
.SH DESCRIPTION
The program
.I fd2ps
translates the
.I fd
file produced by the interface builder program
.I fdesign
of the
.B "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.

.SH OPTIONS
.I fd2ps
accepts the following command line options
.TP 6
.B \-help
Prints a brief summary of all command line options.
.TP
.B \-version
Prints the current version of
.I fd2ps
and exits.
.TP
.B \-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.
.TP
.B \-l
This options requests landscape output.
.TP
.BI \-bw " n"
Specifies the border width of the interface. By default this information
is obtained from the .fd file.
.TP
.B \-eps
This option requests Encapsulated PostScript instead of
the plain PostScript output.
.TP
.B \-gray
This options requests all colors be converted
to gray levels. By default,
.I fd2ps
outputs colors as specified in the .fd file.
.TP
.B \-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.
.TP
.BI \-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.
.TP
.BI \-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
.B RGBFile
can be used to change the default.
.TP
.BI \-paper " name"
This option specifies the paper name, such as A4, Letter etc.
The output PostScript will always center
on the page.  Use name
.I all
to get a list of the known paper names and sizes.
The default is US Letter unless environment variable
.B PAPER
is set to one of the known paper names.
.TP
.BI \-pw " f"
Specifies the paper width, in inches.
.TP
.BI \-ph " f"
Specifies the paper height, in inches.
.TP
.B \-verbose
This option specifies verbose output, i.e., comments
in the output PostScript file. Most useful for
debugging the
.I fd2ps
program.
.SH BUGS
Not all objects are currently supported.
.SH SEE ALSO
fdesign(1L), xforms(5)
.SH AUTHOR
Copyright
.Cr
1997-98 by T.C. Zhao (tc_zhao@yahoo.com)
.br
Since 2002: GNU Lesser General Public License
.br
Maintainers: Jean-Marc Lasgouttes, Angus Leeming and Jens Thoms Toerring
<jt@toerring.de>
.SH HOME PAGE
http://xforms-toolkit.org
.br
http://world.std.com/~xforms