Notice! This document is currently in
Archived
status.
The content of this document may be incorrect or outdated.
The content of this document may be incorrect or outdated.
Print this article Edit this article
Command Line Printing: Printing Multiple Copies
To print multiple copies of a document, you use the -n option to lp and specify a number,
which will be the number of copies of the output. The default is 1. For example:
% lp -n 2 fooThis will print 2 copies of the file "foo" to your printer.
To specify a printer that is different than the printer set in your shell start-up file:
% lp -n 2 -d abc1 fooThis will send two copies of the file "foo" to printer abc1.
Last Modified:
Nov 21, 2025 11:43 am US/Eastern
Created:
Oct 8, 2007 9:36 am GMT-4
by
admin
JumpURL: