Previous Section  < Day Day Up >  Next Section

lpr—sends output to a printer (UCB)


lpr [ –Pprinter ] [ –#copies ] [ –Cclass ] [ –Jjob ]

  [ –Ttitle ] [ –i [ indent ] ] [ –1234font ] [ –wcols ]

  [ –r ] [ –m ] [ –h ] [ –s ] [ –filter–option ] [ 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.

    Previous Section  < Day Day Up >  Next Section