Afternoon All.

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.  (It's funny how often printed output doesn't even
come out in the right state, let alone the right room.)  Because users
login in different places I can't tie the printer to the user name.

I am guessing I will need to create a table with printer preferences based
on ip address of the terminal.  (We use fixed ip addresses).  My thoughts
so far are to get the process id of the perl script and then using a
combination of ps and w get the ip address of the terminal the user is on.

Can anyone suggest a simpler and/or more direct way of achieving this.

Thank you
Steven


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

Reply via email to