lpr

BSD—print a file or pipeline

Usage: lpr options [list-of-files]

Standard Input: Used only if no list-of-files is given

Standard Output: Not used

SEE ALSO

For more information, see page 223

Useful options:

-# NUM means print NUM copies.

-P PTR means print output on printer PTR. If -P is not given, print on system default printer. If no default, give error.

Get Practical UNIX now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.