At Fri, 7 Jun 2002 14:59:48 +1000, steven  wrote:
> Our users use telnet to connect to a server where they run our main ERP
> application.  (This is Progress RDMS running on RedHat 6.2).

> I am thinking about a perl script that will direct printed output to the
> printer closest to the users terminal rather than relying on them to select
> the correct printer.

the first machine they log in to should set the PRINTER environment
variable appropriately. later machines should leave it if they find it
already set.  all lpr-alike clients should honour this variable.

presumably the first machine they log in to will be their terminal,
and will know (with a little help from the admin) which printer is
closest to it.

ssh, telnet, etc should all pass the PRINTER variable through by
default.

-- 
 - Gus
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to