Xref: utzoo comp.unix.questions:8566 comp.unix.xenix:2889 Path: utzoo!utgpu!attcan!uunet!3b2!danno From: danno@3b2.UUCP (Daniel Notov) Newsgroups: comp.unix.questions,comp.unix.xenix Subject: Re: $PRINTER environment variable in Unix Summary: $LPDEST - On UNIX System V Keywords: PRINTER, environment Message-ID: <252@3b2.UUCP> Date: 3 Aug 88 15:17:22 GMT References: <1988Aug2.085719.11489@gpu.utcs.toronto.edu> Organization: Ogilvy & Mather Advertising, Inc., NY, NY Lines: 16 In article <1988Aug2.085719.11489@gpu.utcs.toronto.edu>, romwa@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 |