|
|
coherent
prps Command prps
Prepare files for PostScript-compatible printer
pprrppss [_o_p_t_i_o_n_s] [_f_i_l_e ... ]
pprrppss invokes a driver for a PostScript-compatible device,
typically a printer such as an Apple LaserWriter or a Hewlett-
Packard LaserJet with a PostScript cartridge. It generates a
PostScript program listing each input _f_i_l_e and writes it to the
standard output. If no _f_i_l_e is given, pprrppss reads the standard
input.
The PostScript output program generates a sequence of standard
8.5 by 11-inch pages, each containing a header line (filename,
current time and date, and page number) and a box that encloses
the text of _f_i_l_e. The default output typeface is ten-point
Courier.
The most common use of pprrppss is to print output via /ddeevv/hhpp. For
example, the command
prps file.c file.doc | hpr -B
pipes the output from pprrppss into hhpprr (the print spooler for
/ddeevv/hhpp) to generate a listing of ffiillee.cc and ffiillee.ddoocc.
pprrppss recognizes the following options:
-bb Suppress the box around the page text. If the box is
present, PostScript clips text that would extend beyond its
right border.
-hh Suppress the header line.
-nn_n_a_m_e
Use _n_a_m_e in place of the file name in the header line.
-ll Generate ``landscape''-format output. pprrppss normally
generates output pages in ``portrait'' format (upright 8.5
by 11 inches). The -ll option generates output pages in
landscape format (11 by 8.5) instead. This option is useful
for files with long lines.
-ll22 Generate landscape-format output pages that each contain two
side-by-side ``pages'' of text. This format is useful for
saving paper, especially when used with a small size of
type.
-ii_n Indent the left margin by an additional _n characters.
-tt_N Set tab stops at every _N characters. The default tab
setting is eight.
COHERENT Lexicon Page 1
prps Command prps
-_p_t_s_i_z_e
Change the size of type to _p_t_s_i_z_e points. By default, pprrppss
sets its output in ten-point type. This yields 64 lines per
normal output page, 46 lines in landscape format, and 52
lines per half page in -ll22 format. (Note that a ``point''
is one twelfth of a pica, which in turn is one sixth of an
inch; thus, there are 72 points in an inch.) By specifying
the _p_t_s_i_z_e on its command line, you can tell pprrppss to use a
different size of type. For example, -88 tells pprrppss to use
eight-point type.
-pp_N Print _N lines of text on each output page (or half page).
Note that the point size determines how many lines fit on a
page, and lines per page determine point size. If you
specify both, pprrppss will use the given values unless the
lines do not fit at the given point size.
+_N Skip the first _N output pages.
***** Setting Fonts *****
pprrppss recognizes the standard nnrrooffff font specification sequences
and translates them into PostScript font specifications. The
default font is Courier. Because the naming conventions for
PostScipt fonts are anything but uniform, pprrppss appends a suffix
to the fontname to designate a Roman, boldface and italic font
variety. The default suffix is ` ' for Roman, ``-Bold'' for bold
and ``-Oblique'' for italic. These give the standard PostScript
names for the Courier family, ``Courier'', ``Courier-Bold'', and
``Courier-Oblique''.
Option -ff_f_o_n_t_n_a_m_e specifies an alternative _f_o_n_t_n_a_m_e. Option -
FFss_X_s_u_f_f_i_x specifies an alternative font suffix, where _X is one of
the three characters RRBBII (for RRoman, BBold or IItalic) and _s_u_f_f_i_x
is the desired suffix. For example, the option
-fTimes -FsR-Roman -FsI-Italic
generates the usual PostScript font names for the Times family,
namely ``Times-Roman'', ``Times-Bold'', and ``Times-Italic''.
To spare you some of this grief, a few fonts have built-in
abbreviations. Option -FF_X, where _X is one of the characters
AABBHHNNPPSSTT, specifies a PostScript fontname as follows:
-FFAA AvantGarde
-FFBB Bookman
-FFHH Helvetica
-FFNN Helvetica-Narrow
-FFPP Palatino
-FFSS New Century Schoolbook
-FFTT Times
COHERENT Lexicon Page 2
prps Command prps
These options also set each suffix appropriately for the desired
font. However, font naming conventions may differ on various
PostScript devices; examine the pprrppss output and your device
documentation if problems occur.
***** See Also *****
ccoommmmaannddss, hhpp, hhpprr, pprr, nnrrooffff, pprriinntteerr
COHERENT Lexicon Page 3
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.