$PRINTER environment variable in Unix

Daniel Notov danno at 3b2.UUCP
Thu Aug 4 01:17:22 AEST 1988


In article <1988Aug2.085719.11489 at gpu.utcs.toronto.edu>, romwa at gpu.utcs.toronto.edu (Mark Dornfeld) writes:
> Is there a "standard" method for implementation of a $PRINTER
> environment variable in a user's shell?

On UNIX System V,  the lp print spooler will search the environment for 
a variable named LPDEST.  If it is set,  the print job will be sent to
that destination.  No need to even include the "-d" option on the command
line.

This works on all AT&T 3B[1]x systems.


-- 
	Daniel S. Notov		|	{monster,uunet}!onm3b2!danno     
	Ogilvy & Mather, Inc.	|	(212) 907-4255		
	New York, NY		|				



More information about the Comp.unix.questions mailing list