Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lpscript(1) — CLIX 3.1r7.6.22

Media Vault

Software Library

Restoration Projects

Artifacts Sought



  lpscript(1)                         CLIX                         lpscript(1)



  NAME

    lpscript - Converts text to PostScript output

  SYNOPSIS

    lpscript [-o[offset]] [-r[rotation]] [-s[fontsize]] [-f[font]] [-p[pitch]]
    [-t[tabsize]] [-h[horizontal_spacing]] [-S] [-L] [file ... ]

  FLAGS

    -o offset         Offsets the text from the left edge of the imageable
                      region by the given distance (in centimeters).  The
                      default distance is 1 centimeter.

    -r rotation       Rotates the page by the given angle, specified in
                      degrees.  If angle is not specified, an angle of 90
                      degrees is used.  Normally, the page will be printed in
                      portrait mode (with the long axis vertical).  This flag
                      allows printing in landscape mode (with the long axis
                      horizontal).  Note that specifying an angle other than 0
                      or 90 will almost certainly cause part of the text to
                      fall outside the imageable region.

    -s fontsize       Sets the font size to fontsize (in points) (72 points =
                      1 inch).  If fontsize is omitted (only -s is specified),
                      the point size is set to 12 points.  The default point
                      size is 10 points.

    -t tabsize        Sets the tab size to tabsize (in characters).  If
                      tabsize is omitted (only -t is specified), the tab size
                      is set to 4 characters.

    -p pitch          Sets the line spacing of printed text to pitch points.
                      Specifying a value will cause the line spacing to be set
                      to that value, in points (72 points = 1 inch).  If pitch
                      is omitted (only -p is specified), the line spacing is
                      set to 0 points.

    -f font           Sets the font used to font.  The default font is
                      Courier.  If font is omitted (only -f is specified), the
                      font is set to Times-Roman.  The following fonts are
                      available: Times-Roman, Times-Italic, Times-Bold,
                      Times-BoldItalic, Courier, Courier-Oblique, Courier-
                      Bold, Courier-BoldOblique, Helvetica, Helvetica-Bold,
                      Helvetica-Oblique, and Helvetica-BoldOblique.  Note that
                      only the Courier family is a fixed-width font.  All the
                      other families are variable width, so program listings
                      or columns of data will not line up.

    -h space          Increases the horizontal spacing of characters by space,



  2/94 - Intergraph Corporation                                              1






  lpscript(1)                         CLIX                         lpscript(1)



                      (specified as a fraction of the current font size).  For
                      example, using -h0.25 with a font size of 12 points in
                      effect, would cause an increase in horizontal spacing by
                      3 points.  Negative values (for example, -h-0.1) cause
                      horizontal spacing to be decreased.  By default, the
                      characters are placed next to each other, using the
                      natural width of the characters.

    -a aspect-ratio   Sets the aspect ratio (height:width) of each character
                      to aspect-ratio.  If aspect-ratio is not specified, a
                      ratio of 1 is used.  (If the height is 1 and the width
                      is 2, the value of aspect-ratio is .5.)

    -S                Uses manual feed instead of feeding from the paper tray.

    -L                Prints using legal page size: a 17.8 by 31.8 cm (7 by
                      12.5 inches) imageable region, centered on a 21.6 by
                      35.6 cm (8.5 by 14 inch) page.  The default paper size
                      (letter) produces a 20.3 by 26.7 cm (8 by 10.5 inch)
                      imageable region, centered on a 21.6 by 27.9 cm (8.5 by
                      11 inch) page.

  DESCRIPTION

    The lpscript utility reads text from stdin or specified files and produces
    PostScript output suitable for sending to any PostScript device or for use
    with any program that expects PostScript input, such as a PostScript
    interpreter used to drive some other raster device.

    Text is normally aligned at the top and left with the imageable region of
    the page (probably slightly smaller than the physical page size), and a
    new page is taken whenever text would fall below this imageable region.

  EXIT VALUES

    This command exits with a value greater than 0 if an error occurs.


















  2                                              Intergraph Corporation - 2/94




Typewritten Software • bear@typewritten.org • Edmonds, WA 98026