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 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 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.
-o
Printer specific options. Not supported, provided only as a compatibility option for SVR4.