home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 344a.lha / LPtoPS / lptops.doc.pp / lptops.doc
Encoding:
Text File  |  1990-02-12  |  7.1 KB  |  192 lines

  1.  
  2.  
  3.  
  4.  
  5.            Line printer file to PostScript converter
  6.  
  7.                   [03-Jul-85]
  8.                   [12-Nov-85]
  9.                   [07-Apr-86]
  10.                               [03-May-88]
  11.                               [22-Dec-89]
  12.  
  13.  
  14.  
  15. lptops converts normal text  files into PostScript  for printing on  the
  16. Apple LaserWriter, or any  other PostScript-compatible printing  device.
  17. It supports selection of  a variety of fonts  at arbitrary point  sizes,
  18. margin specification, portrait and landscape page orientation, automatic
  19. page numbering, page outlining, and multi-column printing.  It can  also
  20. handle overstruck text used by many document formatters for underlining.
  21.  
  22. Usage:
  23.  
  24.     lptops [switches] <infile >outfile
  25.     lptops [switches] filelist >outfile
  26.  
  27. In the switch descriptions below, physical dimensions described as # may
  28. be specified as a single number with an optional fractional part, and  a
  29. required two-letter unit designator.  Letter case is ignored.    Possible
  30. forms are:
  31.  
  32. #.##bp  big point (1in = 72bp)         [Courier: 120.000/Pbp cpi]
  33. #.##cc  cicero (1cc = 12dd)         [Courier:     9.381/Pcc cpi]
  34. #.##cm  centimeter             [Courier:     4.233/Pcm cpi]
  35. #.##dd  didot point (1157dd = 1238pt)[Courier: 112.569/Pdd cpi]
  36. #.##in  inch                 [Courier:     1.667/Pin cpi]
  37. #.##mm  millimeter (10mm = 1cm)      [Courier:  42.333/Pmm cpi]
  38. #.##pc  pica (1pc = 12pt)         [Courier:  10.038/Ppc cpi]
  39. #.##pt  point (72.27pt = 1in)         [Courier: 120.450/Ppt cpi]
  40. #.##sp  scaled point (65536sp = 1pt) [Courier:     7.893/(Psp/1000000) cpi]
  41.  
  42. The bracketed values give the number of characters per inch (cpi) for  a
  43. point size of P units with  the fixed-width Courier font.  For  example,
  44. with point size  8bp, there are  120/8 = 15  characters per inch.   With
  45. point size 1000000sp, there are 7.893 characters/inch.
  46.  
  47. The optional switches are (letter case is ignored):
  48.  
  49.     -A    Turn Scribe-like bold and italic requests (@b[...] and
  50.         @i[...]) into bold or italic text.
  51.  
  52.     -B#    Bottom margin of #.
  53.  
  54.     -Cn    Print n copies of each page.
  55.  
  56.         -D[tb][n]
  57.                 Display header or footer in the following format:
  58.  
  59.                    Date/Time         File Name            Page #
  60.  
  61.         The position can  be selected  explicitly by  t (top) or
  62.                 b (bottom).  If  n is  given,  start numbering with that
  63.                 value, and otherwise with  1.  If an initial  top margin
  64.                 value is given  with the  -I#  option, numbering will be
  65.                 omitted  on the first page  if it is at the top.   Pages
  66.                 are  unnumbered  if this  option  or the N option is not
  67.                 specified.
  68.  
  69.     -Ffontname
  70.         PostScript fontname.   Possible values  with  acceptable
  71.         short abbreviations formed  from the upper-case  letters
  72.         in the font names, and the ditroff and Adobe  TranScript
  73.         abbreviations  are  as  follows.    The  first  13   are
  74.         available on all PostScript printers; the remainder  are
  75.         available only on enhanced  printers, such as the  Apple
  76.         LaserWriter Plus.
  77.  
  78.         ====================        =====    ======    ==========
  79.         full name            short    ditroff    TranScript
  80.         ====================        =====    ======    ==========
  81.         Courier                C    C    C
  82.         Courier-Bold            CB    CB    CB
  83.         Courier-BoldOblique        CBO    CD    CD
  84.         Courier-Oblique            CO    CO    CO
  85.         Helvetica            H    he    he
  86.         Helvetica-Bold            HB    He    He
  87.         Helvetica-BoldOblique        HBO    HE    HE
  88.         Helvetica-Oblique        HO    hE    hE
  89.         Symbol                S    S    S
  90.         Times-Bold            TB    R    ti
  91.         Times-BoldItalic        TBI    BI    TI
  92.         Times-Italic            TI    I    tI
  93.         Times-Roman            T    R    ti
  94.  
  95.         AvantGarde-Book            AGB    ag    ag
  96.         AvantGarde-BookOblique        AGBO    aG    aG
  97.         AvantGarde-Demi            AGD    Ag    Ag
  98.         AvantGarde-DemiOblique        AGDO    AG    AG
  99.         Bookman-Demi            BD    Bo    Bo
  100.         Bookman-DemiItalic        BDI    BO    BO
  101.         Bookman-Light            BL    bo    bo
  102.         Bookman-LightItalic        BLI    bO    bO
  103.         Helvetica-Narrow        HN    hn    hn
  104.         Helvetica-Narrow-Bold        HNB    Hn    Hn
  105.         Helvetica-Narrow-BoldOblique    HNBO    HN    HN
  106.         Helvetica-Narrow-Oblique    HNO    hN    hN
  107.         NewCenturySchlbk-Bold        NCSB    Nc    Nc
  108.         NewCenturySchlbk-BoldItalic    NCSBI    NC    NC
  109.         NewCenturySchlbk-Italic        NCSI    nC    nC
  110.         NewCenturySchlbk-Roman        NCSR    nc    nc
  111.         Palatino-Bold            PB    Pa    Pa
  112.         Palatino-BoldItalic        PBI    PA    PA
  113.         Palatino-Italic            PI    pA    pA
  114.         Palatino-Roman            PR    pa    pa
  115.         ZapfChancery-MediumItalic    ZCMI    ZC    ZC
  116.         ZapfDingbats            ZD    ZD    ZD
  117.         ====================        =====    ======    ==========
  118.  
  119.         The ditroff and  TranScript  abbreviations are the same,
  120.         except for the Courier and Times fonts.  They  are based
  121.         on two-letter  mnemonics, where upper-case  in the first
  122.         letter means bold, and upper-case  in the second  letter
  123.         means italic.
  124.  
  125.         Only the Courier fonts  are fixed-width like  typewriter
  126.         and line printer fonts are.  The others are proportional
  127.         spaced  for  improved  readability,  and   consequently,
  128.         tabular material will  not line up  properly with  them.
  129.         The Courier fonts  have a  width equal to  0.6 of  their
  130.         point size, so to fill a line W inches wide with up to N
  131.         characters, one must have  point size <=  (W/(0.6 * N  *
  132.         72)) = (W*120)/N pt.  Equivalently, with a point size  P
  133.         pt, the output spacing is 120/P char/inch.
  134.  
  135.     -H    Horizontal page orientation (landscape mode) instead  of
  136.         vertical page (portrait mode).
  137.  
  138.     -I#    Top margin of # for  initial page (for letterheads);  if
  139.         not specified, it  will default to  the value given  for
  140.         the top margin by default or by the -T# command.
  141.  
  142.     -L#    Left margin of #.
  143.  
  144.     -Mn    Multiple column output (n columns).  In multiple  column
  145.         mode, formfeeds  cause  column breaks  instead  of  page
  146.         breaks.
  147.  
  148.     -N[tb][lcr][n]
  149.         Number output pages.  The number is placed by default in
  150.         the center  of the  top margin,  but the  margin can  be
  151.         selected explicitly by  t (top) or  b (bottom), and  the
  152.         position of the page number can be further specified  by
  153.         l (left),  c (center),  or r  (right).  If  n is  given,
  154.         start numbering with that  value, and otherwise with  1.
  155.         If an initial  top margin  value is given  with the  -I#
  156.         option, numbering will be omitted  on the first page  if
  157.         it is at the top.   Pages are unnumbered if this  option
  158.         or the D is not specified.
  159.  
  160.     -O[#]    Outline pages  (and  columns) with  a  # units  wide.  A
  161.         narrow line of 0.4pt width  is assumed if # is  omitted;
  162.         this particular width is what TeX uses in typesetting.
  163.  
  164.     -P#    Font point  size  (default  10bp).   The  baseline  skip
  165.         (spacing  between  successive  character  baselines)  is
  166.         conventionally chosen to be 6/5  of this value, so  that
  167.         with 10bp  type,  we  have  12bp  between  lines,  or  6
  168.         lines/inch, the same as standard printer output.
  169.  
  170.     -R#    Right margin of #.
  171.  
  172.     -S[n]    special handling  (i.e. manual paper feed) for the first
  173.         n pages  of the  output.  If  N multiple  copies are  in
  174.         effect, then N*n sheets must  be fed manually.  If n  is
  175.         omitted, then all  pages are  to be  fed manually.   For
  176.         example, -S1 is convenient  to get the  first page of  a
  177.         letter on letterhead paper fed manually, with  remaining
  178.         pages from the paper cassette.
  179.  
  180.     -T#    Top margin of #.
  181.  
  182.     -U    Output pages in unsorted  (first to last) order  instead
  183.         of in  sorted  (page reversed)  order;  some  PostScript
  184.         printers have page handlers that stack the paper in this
  185.         order.     The   default  is   sorted  because   this   is
  186.         appropriate for the most common PostScript printer,  the
  187.         Apple LaserWriter.
  188.  
  189. Defaults are:
  190.  
  191.     -B1.0in -C1 -FCourier -L1.0in -M1 -P10bp -R1.0in -S0 -T1.0in
  192.