Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lprint(C) — OpenDesktop 1.0.0y

Media Vault

Software Library

Restoration Projects

Artifacts Sought


     LPRINT(C)                                  UNIX System V



     Name
          lprint - print to a printer attached to the user's terminal


     Syntax
          lprint [ - ] [ file ]


     Description
          lprint(C) accepts a filename to print or - to read from  the
          keyboard.   If the terminal has local printing abilities, it
          will then print the  file  to  a  printer  attached  to  the
          printer port of the terminal.

          This command uses the file /etc/termcap.


     Options
          -        Tells  lprint  to  use  the  standard   input   for
                   printing.

          The variables LPR and PRINTER can each be set  to  `spooler'
          or `local'.  These variables let you send files to the spool
          printer or the terminal's local printer, respectively.   The
          file  /usr/bin/spool contains the `spooler' setting for both
          variables.  The file  /usr/bin/spool  contains  the  `local'
          setting.   The  following  are  a  few  examples of variable
          usage:

                    lp -option spooler
                    LPR=local
                    LPR=spooler
                    spool lp -option device file


     Files
          /etc/termcap
          /usr/bin/spool
          /usr/bin/local


     Notes
          Only certain terminals have  entries  in  /etc/termcap  with
          this capability already defined (for example, Tandy's DT-100
          and DT-1, and Hewlett-Packard's HP-92).

          To add attached printer capability to the termcap file for a
          different  terminal, add entries for PN (start printing) and
          PS (end printing) with the  appropriate  control  or  escape
          characters for your terminal.

          Terminal communications parameters (such as  baud  rate  and
          parity) must be set up on the terminal by the user.


     See Also
          ``Using Printers'' in the System Administrator's Guide


     Value Added
          lprint is an extension of AT&T  System  V  provided  by  the
          Santa Cruz Operation.


     (printed 8/28/89)                                  LPRINT(C)

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