NAME
	lp.dev - MagiC/STinG network printer device driver


SYNOPSIS
	-


DESCRIPTION

Lp.dev uses a local or remote spooling daemon to print the named files when facilities 
become available. 
Lp.dev captures information written to this device in a temporary file. Once the stream
is closed the temporary file gets transmitted to the remote host using the lpr/lpd
protocol as described in RFC1179.

Lp.dev has no configuration options


ENVIRONMENT

The following environment variables (or variables in default.cnf see below) have to exist
as they are used by lp.dev:

PRINTER		Specifies the remote printer (queue)

USER		Specifies the user name

HOST		Specifies the name of the local host

PRINTHOST	Specifies the name of the remote host

TMPDIR		Specifies a path to store the temporary file
TEMP		Ditto
TMP		Ditto, if you got any of the three you are fine


FILES

The following file is consulted by lp.dev:

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.


DIAGNOSTICS

Only formatting option -l (raw, binary ) is supported. This is intended to pass
on binary data to the remote printer, i.e. printer data already formatted for a 
specific printer by e.g. GDOS.

Lp.dev does not use a printcap file. Thus lp.dev can not do any processing 
(filtering) to its input.

Currently lp.dev does not remove the temporary file from the local system after
printing.

Lp.dev consults environment strings and default.cnf only once the first time
it gets used. If you change something there you need to reboot.