lpr (UCB, Linux)—sends output to a printer

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.38.
1  lpr -#5 filea fileb
2  lpr -PShakespeare filex
				

Explanation

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

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

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.0.145