Unix/Linux Go Back    

NetBSD 6.1.5 - man page for lp (netbsd section 1)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

LP(1)				   BSD General Commands Manual				    LP(1)

     lp -- front-end to the print spooler

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

     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 gener-
     ally prints the named files on the destination 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 command line, the con-
	     tents 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 compatibility option
	     for SVR4.

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


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

     This implementation of the lp command has been written by Jorg Wunsch.

     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.

BSD					 January 22, 1995				      BSD
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 05:37 PM.