LP(1)                   NetBSD General Commands Manual                   LP(1)

NAME
     lp -- front-end to the print spooler

SYNOPSIS
     lp [-cs] [-o option] [-d printer] [-n num] [file ...]

DESCRIPTION
     lp is a front-end to the print spooler as required by the IEEE Std 1003.2
     (``POSIX.2'') specification.  It effectively invokes lpr(1) with the
     proper set of arguments.  It generally prints the named files on the des-
     tination printer.

     The following options are available:

     -c      Make the lp command exit only after further access to any of the
             input files is no longer required.  The application can then
             safely delete or modify the files without affecting the output
             operation.

     -d dest
             Specify a particular printer.  If no -d is provided on the com-
             mand line, the contents of the environment variables LPDEST or
             PRINTER (with this precedence) are taken as the destination
             printer.

     -n num  Specify that num copies of each of the named files shall be
             printed.

     -s      Silent operation.

     -o      Printer specific options.  Not supported, provided only as a com-
             patibility option for SVR4.

ENVIRONMENT
     As described above, the variables LPDEST and PRINTER are examined to
     select the destination printer.

SEE ALSO
     lpr(1)

STANDARDS
     The lp command is expected to comply with the IEEE Std 1003.2
     (``POSIX.2'') specification.

AUTHORS
     This implementation of the lp command has been written by Jörg Wunsch.

BUGS
     The IEEE Std 1003.2 (``POSIX.2'') specification does not provide any
     means to print non-text files.  It rather requires the files to be
     printed to be text files limited to reasonable line lengths and printable
     characters.

NetBSD 6.0.1                   January 22, 1995                   NetBSD 6.0.1

You can also request any man page by name and (optionally) by section:

Command: 
Section: 
Architecture: 
Collection: 
 

Use the DEFAULT collection to view manual pages for third-party software.


©1994 Man-cgi 1.15, Panagiotis Christias <christia@softlab.ntua.gr>
©1996-2014 Modified for NetBSD by Kimmo Suominen