home *** CD-ROM | disk | FTP | other *** search
-
- This archive contains PC ASCII to PostScript converter for OS/2
- version 2.0 and later. It is originally written by Stephen Frede
- and the PC ASCII (ASCII codes from 0 to 31 and 128 to 255) chars
- were added by Roland Giersig. I ported it to OS/2 and made some
- minor modifications.
-
- I tried to contact (via Email) the other guys but with no luck.
- Mr Giersig was supposed to have mail account at EDVZ.ATI.ADA.AT
- few years ago but such machine does not exist any more. However,
- as far as I'm concerned you can use this program as you wish and
- I'm sure Mr Frede and Mr Giersig do not mind either.
-
- Bug reports and suggestions may be sent to tke@utu.fi
-
-
- DESCRIPTION
- PC2ps reads text from file(s) (or standard input if specified)
- and produces postscript output on stdout, suitable for piping
- to any postscript device (such as an Apple Laserwriter) or for
- using with any program that expects postscript input (such as a
- postscript interpreter used to drive some other raster
- device). Text is normally aligned to the top and left edges
- of the imageable region of the page (usually slightly smaller
- than the physical page size), and a new page is started
- whenever text would fall below this region. The following
- options are understood, with all values able to be given
- as integer or real:
-
- -r[angle]
- Rotate the page by the given angle (in degrees). The
- default angle is 0 (portrait mode). If -r is used
- without specifying an angle, angle is set to 90
- (landscape mode). Angles other than 0 or 90 may cause
- text to fall outside the imageable region.
-
- -s[pointsize]
- Set the pointsize (character size) to the given value (72
- points = 1 inch). The default pointsize is 8. If -s is
- used without specifying the pointsize, the pointsize is
- set to 10.
-
- -h[space]
- Increase the horizontal spacing of characters by the
- given fraction of the current pointsize. For example,
- using `-h0.25' when pointsize = 12 causes the horizontal
- spacing to increase by 3 points. The default horizontal
- spacing is 0 i.e. the characters are placed next to each
- other, using their natural widths. If -h is used without
- specifying spacing, spacing is set to 0.25 x pointsize.
-
- -p[linepitch]
- Set the line spacing of printed text to the given value
- (72 points = 1 inch). Unless a value is specified for
- the linepitch using this option, the linepitch used will
- be equal to pointsize + 2.
-
- -o[offset]
- Offset text from the left edge of the imageable region,
- by the given distance (in centimeters) on all pages. The
- default offset is 0. If -o is used without specifying an
- offset, offset is set to 1 cm.
-
- -oe[offset]
- Offset text from the left edge of the imageable region,
- by the given distance (in centimeters) on even pages
- only. The default offset for even pages is the same as
- that for odd pages. If -oe is used without specifying an
- offset, offset is set to 1 cm on even pages. Option -o
- followed by the option -oe may be used to set offsets on
- odd and even pages independently.
-
- -m[topmargin]
- Set the top margin to the given value (in centimeters).
- The default is to set this to 0.5 cm. If -m is specified
- without a value for top margin, top margin is set to 1.5
- cm.
-
- -w[linewidth]
- Specify the number of characters per line. Longer lines
- are folded. The default is no folding. If -w is used
- without specifying linewidth, linewidth is set to 72
- characters per line. Useful with fixed-width fonts.
-
- -l[pagelength]
- Specify the number of lines per page. The default is to
- start a new page whenever text falls below the imageable
- region. If -l is used without specifying a pagelength,
- pagelength is set to 60.
-
- -i
- Accept input from Stdio.
-
- -?
- Print a list of options and quit.
-
- The default values (no options) give a layout that is equivalent
- to a normal lineprinter printout. Useful for listings etc.
- Options without parameters give a much prettier layout (larger font,
- better margins). Useful for manuals etc.
-
-
- /Timo Eronen, tke@utu.fi