lp man page on FreeBSD

Man page or keyword search:  
man Server   9747 pages
apropos Keyword Search (all sections)
Output format
FreeBSD logo
[printable version]

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

     lp — front-end to the print spooler

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

     The lp utility 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 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

     -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

     -m	     Send mail upon completion.

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

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

     -s	     Silent operation.	Not supported, provided only as a compatibil‐
	     ity option for Version 2 of the Single UNIX Specification

     -t title
	     Set the job title to title.

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


     The lp command is expected to comply with the IEEE Std 1003.2 (“POSIX.2”)

     This implementation of the lp command has been written by Jörg 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 charac‐

BSD			       January 22, 1995				   BSD

List of man pages available for FreeBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net