NAME
	lpr - off line print


SYNOPSIS
	lpr [-cdfglnopvt] [-Pprinter] [-h] [-m] [-#copies] [-iIndent] [-wWidth] [-Ttitle] [file ...]


DECRIPTION

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

The following single letter options are used to notify the printer spooler 
that the files are not standard text files. The spooling daemon will use the 
appropriate filters to print the data accordingly. The formatting options 
are mutually exclusive:

-c	Cifplot
-d	TeX DVI
-f	FORTRAN carriage control
-g	Plot
-l	Raw. This is the default!
-n	Ditroff
-o	Postscript
-p	Postscript
-v	Formatted ISO 8859 Latin1
-t	Troff.

These options allow to modify output formatting:

-i	Decimals to specify indentation

-w	Decimals to specify page width in characters.

These options apply to the handling of the print job:

-P	Force output to a specific printer. Otherwise the printer specified 
	in the environment variable PRINTER is used. Otherwise the printer 
	defaults to  lp

-m	Send mail upon completion

-T	Title for the job

-h	Suppress banner

-#	Decimals to specify number of copies.


ENVIRONMENT

If the following environment variables exist, they are used by lpr:

PRINTER		Specifies an alternate default printer

USER		Specifies the user name

HOST		Specifies the name of the local host

PRINTHOST	Specifies the name of the remote host


FILES

The following file is consulted by lpr:

default.cnf in the STinG directory
	Variables USERNAME, HOSTNAME, and PRINTHOST are read to specify 
	user name, name of the local host and name of the remote host. 
	Environment variables take precedence over variables in default.cnf.


SEE ALSO

lpq(1), lprm(1), pr(1), symlink(2), printcap(5), lpc(8), lpd(8)


HISTORY

The lpr command appeared in 3BSD. Most of the formatting options are 
historical and their meaning may vary according to the remote spool daemon 
configuration.


DIAGNOSTICS

Formatting option -l (raw, binary ) is default, whereas it is -p (postscript) 
in many implementations.

The command line is limited to 127 characters in lngth. This will be changed 
in a future version.

In contrast to other lpr implementations this one does handle binary files, 
also for standard input.

This lpr does not use a printcap file.
Thus lpr can not do any processing (filtering) to its input.
Note that formatting options are just forwarded to the spooling daemon (lpd).

