LPTOPS
Section: Misc. Reference Manual Pages (1L)
Updated: 2 September 1986
Index
Return to Main Contents
NAME
lptops - convert an ascii text file into a printable
POSTSCRIPT
file
SYNOPSIS
lptops
[-a] [-b #] [-c num] [-f font] [-h] [-i #] [-l #] [-m num] [-n [tb][lcr]num] [-o [#]] [-p #] [-r #] [-s num] [-t #] [-u] <
infile
>
outfile
lptops
[-a] [-b #] [-c num] [-f font] [-h] [-i #] [-l #] [-m num] [-n [tb][lcr]num] [-o [#]] [-p #] [-r #] [-s num] [-t #] [-u]
file1
file2 ...
>
outfile
DESCRIPTION
Lptops
converts normal text files into POSTSCRIPT
for printing on the Apple LaserWriter, or any other
POSTSCRIPT compatible printing device.
It supports selection of a variety of fonts at arbitrary point sizes,
margin specification, portrait and landscape page orientation, automatic
page numbering, page outlining, and multi-column printing. It can also
handle overstruck text used by many document formatters for underlining.
This program is distributed with the <PLOT79> system.
OPTIONS
Letter case is ignored.
- -a
-
Turn Scribe-like bold and italic requests (@b[...] and @i[...]) into
bold or italic text.
- -b #
-
Set bottom margin to # (default is 1.0in).
- -c num
-
Print num copies of each page (default 1).
- -f font
-
Set POSTSCRIPT font. Full names or abbreviations formed from
the upper-case letters in the font names are given as font.
Default is Courier.
The following 13 fonts are available on all POSTSCRIPT printers:
Courier C
Courier-Bold CB
Courier-BoldOblique CBO
Courier-Oblique CO
Helvetica H
Helvetica-Bold HB
Helvetica-BoldOblique HBO
Helvetica-Oblique HO
Symbol S
Times-Bold TB
Times-BoldItalic TBI
Times-Italic TI
Times-Roman T
The remaining fonts are available only on enhanced printers, such as the
Apple LaserWriter Plus.
AvantGarde-Book AGB
AvantGarde-BookObliqueAGBO
AvantGarde-Demi AGD
AvantGarde-DemiObliqueAGDO
Bookman-Demi BD
Bookman-DemiItalic BDI
Bookman-Light BL
Bookman-LightItalic BLI
Helvetica-Narrow HN
Helvetica-Narrow-Bold HNB
Helvetica-Narrow-BoldObliqueHNBO
Helvetica-Narrow-ObliqueHNO
NewCenturySchlbk-Bold NCSB
NewCenturySchlbk-BoldItalicNCSBI
NewCenturySchlbk-ItalicNCSI
NewCenturySchlbk-RomanNCSR
Palatino-Bold PB
Palatino-BoldItalic PBI
Palatino-Italic PI
Palatino-Roman PR
ZapfChancery-MediumItalicZCMI
ZapfDingbats ZD
Only the Courier fonts are fixed-width fonts.
The others are proportionally spaced and
tabular material will not line up properly. The
Courier fonts have a width equal to 0.6 of their point size, so to fill
a line W inches wide with up to N characters, one must have point
size <= (W/(0.6 * N * 72)) = (W*120)/N pt. Equivalently, with a point size
P pt, the output spacing is 120/P char/inch.
- -h
-
Use horizontal page orientation (landscape mode) instead of vertical
(portrait mode).
- -i#
-
Set top margin to # for initial page (for use with letterhead)
If not specified, the value given for the top margin will be used
(see the -t command).
- -l#
-
Set left margin to # (default is 1.0in).
- -mnum
-
Produce multiple column output (num columns). In multiple column mode,
formfeeds cause column breaks instead of page breaks. Default value of
num is 1.
- -n [tb][lcr]num
-
Number output pages. The margin in which the number is placed can
be selected by t (top) or
b (bottom), and the position of the number can be further
specified by l (left), c (center), or r (right).
The number is placed by default in the center of the top margin,
If num is given, start numbering with that
value, and otherwise with 1. If an initial top margin value is given with the
-i option, numbering will be omitted on the first page if it is at the
top. Pages are unnumbered if this option is not specified.
- -o [#]
-
Outline pages (and columns) with a line which is # units wide.
A narrow line of 0.4pt
width is assumed if # is omitted; this particular width is what TeX uses in
typesetting.
- -p#
-
Set font point size (default 10bp). The baseline skip (spacing between
successive character baselines) is conventionally chosen to be 6/5 of this
value, so that with 10bp type, we have 12bp between lines, or 6 lines/inch,
the same as standard printer output.
- -r#
-
Set right margin to # (default is 1.0in).
- -snum
-
Use manual feed tray (special handling) for the first num pages of the
output. If N multiple copies are in effect (see option -c),
then N*num sheets
must be fed manually. If num is omitted, then all pages are to be fed
manually. Default value of num is 0.
- -t#
-
Set top margin to # (default value is 1.0in).
- -u
-
Produce pages in unsorted (first to last) order instead of in sorted (page
reversed) order; some POSTSCRIPT
printers have page handlers that stack the
paper in this order. The default is to sort because this is appropriate for
the most common POSTSCRIPT printer, the Sun (Apple) LaserWriter.
SPECIFICATION OF OPTION VALUES
In the switch descriptions above, physical dimensions described as # may
be specified as a single number with an optional fractional part, and a
required two-letter unit designator. Possible forms are:
#.##bp big point (1in = 72bp)[Courier: 120.000/Pbp cpi]
#.##cc cicero (1cc = 12dd)[Courier: 9.381/Pcc cpi]
#.##cm centimeter[Courier: 4.233/Pcm cpi]
#.##dd didot point (1157dd = 1238pt)[Courier: 112.569/Pdd cpi]
#.##in inch[Courier: 1.667/Pin cpi]
#.##mm millimeter (10mm = 1cm)[Courier: 42.333/Pmm cpi]
#.##pc pica (1pc = 12pt)[Courier: 10.038/Ppc cpi]
#.##pt point (72.27pt = 1in)[Courier: 120.450/Ppt cpi]
#.##sp scaled point (65536sp = 1pt)[Courier: 7.893/(Psp/1000000) cpi]
The bracketed values give the number of characters per inch (cpi) for a
point size of P units with the fixed-width Courier font. For example,
with point size 8bp, there are 120/8 = 15 characters per inch. With
point size 1000000sp, there are 7.893 characters/inch.
FILES
- /usr/local/plot79/tex/dvi/lptops.c
-
source code
- /usr/local/plot79/lptops
-
executable
- /usr/local/plot79/define
-
various environment definitions, an appropriate subset of which should be
placed in the user's .cshrc or .profile file
SEE ALSO
document (1L), drawit(1L), grapht(1L), graph3t(1L), pfort(1L),
piechtt(1L), plot79-intro(1L), plot79(1L), pluto(1L), pretty(1L), rdinfo(1L),
sf3(1L), slides(1L), tekalw(1L), tkvecs(1L), tmacro(1L), world(1L)
AUTHOR
Nelson H. F. Beebe, Ph.D.
College of Science Computer
Departments of Chemistry and Physics
University of Utah
Salt Lake City, Utah 84112
(Manual page by R. P. C. Rodgers, Computer Applications in Laboratory
Medicine Project, UCSF, San Francisco, CA 94143).
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- SPECIFICATION OF OPTION VALUES
-
- FILES
-
- SEE ALSO
-
- AUTHOR
-
This document was created by
man2html,
using the manual pages.
Time: 19:08:27 GMT, October 04, 2024