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

PSRESIZE(1)						      General Commands Manual						       PSRESIZE(1)

NAME
psresize - rescale and centre the pages of a PostScript file SYNOPSIS
psresize [ -wwidth ] [ -hheight ] [ -ppaper ] [ -Wwidth ] [ -Hheight ] [ -Ppaper ] [ -q ] [ infile [ outfile ] ] DESCRIPTION
Psresize rescales and centres a document on a different size of paper. The input PostScript file should follow the Adobe Document Struc- turing Conventions. The -w option gives the output paper width, and the -h option gives the output paper height, normally specified in cm or in to convert PostScript's points (1/72 of an inch) to centimeters or inches. The -p option can be used as an alternative, to set the output paper size to a3, a4, a5, b5, letter, legal, tabloid, statement, executive, folio, quarto, 10x24 or _glibc, where latter one means the format of the current locale. The default output paper size is _glibc. The -W option gives the input paper width, and the -H option gives the input paper height. The -P option can be used as an alternative, to set the input paper size. The default input paper size is _glibc. Psresize normally prints the page numbers of the pages output; the -q option suppresses this. EXAMPLES
The following command can be used to convert a document on A4 size paper to letter size paper: psresize -PA4 -pletter in.ps out.ps ENVIRONMENT VARIABLES
LC_ALL, LC_PAPER These variables are specifying the papertype when used paper is _glibc. For details see the locale(7) manpage. AUTHOR
Copyright (C) Angus J. C. Duggan 1991-1995 SEE ALSO
psbook(1), psselect(1), pstops(1), epsffit(1), psnup(1), psresize(1), psmerge(1), fixscribeps(1), getafm(1), fixdlsrps(1), fixfmps(1), fix- psditps(1), fixpspps(1), fixtpps(1), fixwfwps(1), fixwpps(1), fixwwps(1), extractres(1), includeres(1) TRADEMARKS
PostScript is a trademark of Adobe Systems Incorporated. BUGS
Psresize does not accept all DSC comments. PSUtils Release 1 Patchlevel 17 PSRESIZE(1)
Man Page