Solaris Advanced User's Guide

Printing Multiple Copies

You can use the -n option to the lp command to print more than one copy of a file.

Use the following command syntax to request multiple printed copies.


$ lp -n number filename

In the previous example, number is the desired number of copies and filename is the name of the file you are printing. The print request is considered as one print job, and only one header page is printed.

For example, to print four copies of the /etc/profile file, type the following command.


$ lp -n4 /etc/profile
request id is jetprint-5 (1 file)
$