lpr-sends output to a printer (UCB)

 <  Day Day Up  >  

lpr ”sends output to a printer (UCB)

 lpr [ Pprinter ] [ #copies ] [ Cclass ] [ Jjob ]   [ Ttitle ] [ i [ indent ] ] [ 1234font ] [ wcols ]   [ r ] [ m ] [ h ] [ s ] [ filteroption ] [ filename ... ] 

lpr creates a printer job in a spooling area for subsequent printing as facilities become available. Each printer job consists of a control job and one or more data files.

Example A.36.
 1   lpr -#5 filea fileb 2   lpr -PShakespeare filex 

EXPLANATION

  1. Sends five copies of filea and fileb to the printer.

  2. Specifies Shakespeare as the printer where filex will be printed.

 <  Day Day Up  >  


UNIX Shells by Example
UNIX Shells by Example (4th Edition)
ISBN: 013147572X
EAN: 2147483647
Year: 2004
Pages: 454
Authors: Ellie Quigley

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net