lpr - print files


Usage

lpr [OPTIONS]... [FILENAME...]

Lpr uses a spooling daemon to print the named files when facilities become available. If no names appear, the standard input is assumed.

linux3[354]% lpr foo.txt
linux3[355]%

-P printer

Output to the specific printer, this example from my home machine.

taurus[5]% lpr -P HPLaserJet foo.txt
taurus[6]%

Daniel J. Hood
Last modified: Thu Sep 30 15:01:57 EDT 2004