Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lpr(C) — Xenix 2.3.4g

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

banner(C)



     LPR(C)                   XENIX System V                    LPR(C)



     Name
          lpr - Sends files to the lineprinter queue for printing.

     Syntax
          lpr [ option ... ] [ name ... ]

     Description
          lpr causes the named files to be queued for printing on a
          lineprinter.  If no names appear, the standard input is
          assumed; thus lpr may be used as a filter.

          The following options may be given (each as a separate
          argument and in any order) before any filename arguments:

          -c     Makes a copy of the file and prints the copy and not
                 the original.  Normally files are linked whenever
                 possible.

          -r     Removes the file after sending it.

          -m     When printing is complete, reports that fact by
                 mail(C).

          -n     Prints number of copies of output.

          The file /etc/default/lpd contains the setting of the
          variable BANNERS, whose value is the number of pages printed
          as a banner identifying each printout.  This is normally set
          to either 1 or 2.

     Files
          /etc/passwd         User's identification and accounting
                              data

          /usr/lib/lpd        Lineprinter daemon

          /usr/spool/lpd/*    Spool area

          /etc/default/lpd    Contains BANNERS default setting

          /etc/lpopen         On some systems - sets modes on a serial
                              line

     See Also
          banner(C)

     Notes
          Once a file has been queued for printing, it should not be
          changed or deleted until printing is complete.  If you want
          to alter the contents of the file or to remove the file
          immediately, use the -c option to force lpr to make its own
          copy of the file.



     Page 1                                           (printed 8/7/87)



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