Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lp(1) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

print

qdaemon

qconfig

lp

PURPOSE

     Prints a file in a format  suitable for sending to a line
     printer.

SYNOPSIS
     lp [ options ] [ flags ] file

DESCRIPTION

     The lp  command prints file  on its standard output  in a
     form that is suitable for a line printer.  The lp command
     is  normally invoked  by  the  qdaemon command.   qdaemon
     directs the output from lp to the appropriate device.

     Flags are passed to lp in the following ways:

     o   Flags specified  in the qconfig structure  are passed
         each  time that  lp  is invoked.   The -plp,  -ibmgp,
         -oki,  and -statusfile  flags most  likely appear  in
         qconfig.
     o   Flags that  are not  recognized by the  print command
         are assumed  to be for lp  and are passed to  lp with
         the requested job.

FLAGS

     -elite         Prints the text at  12 characters per inch
                    instead of  10 characters per  inch.  This
                    flag changes the default forms width to 96
                    characters.
     -fl=value      Sets the forms length equal to value.  The
                    default length is 66 lines.
     -fw=value      Sets the forms width  equal to value.  The
                    default width  is 80 columns.   Lines that
                    are  wider than  value are  truncated.  If
                    you set value to  0, no truncation is per-
                    formed.
     -ibmgp         Specifies an IBM Graphic Printer.
     -indent=value  Indents the  printed output the  number of
                    spaces specified with value.
     -oki           Specifies an Okidata Model 92 or 93.
     -plot          Passes  text   directly  to   the  printer
                    without processing.   This is  useful when
                    using the printer as a plotter.  Normally,
                    lines  that  contain backspaces  and  car-
                    riages return characters  are processed so
                    that  they print  with minimum  print head

                    motion.  The  sequence ESC-9 maps  to half
                    line feeds.
     -plp           Sets and  resets printer  port parameters,
                    if the printer is attached with a parallel
                    interface.
     -skip=value    Does not print the first value blank lines
                    in the file.
     -statusfile    Updates  the  status  information  in  the
                    status   file  that   is   open  on   file
                    descriptor 3.   The status  information is
                    passed from qdaemon.
     -wp            Sets the printer, if possible, to the Word
                    Processing mode.

RELATED INFORMATION

     The following commands:  "print" and "qdaemon."

     The qconfig file in AIX Operating System Technical Refer-
     ence.

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