If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):
Date: Wed, 07 Nov 2001 18:06:08 -0500
From: Tony Lawrence <tony@aplawrence.com>
Subject: Re: Ethernet Terminals, DHCP and printing
References: <8947fc5.0111070948.95c8c5e@posting.google.com> <20011107185117.GC1387@jpradley.jpr.com> <hYiG7.6779$35.802405@iguano.antw.online.be>
Karel Adams wrote:
>
> "Jean-Pierre Radley" <jpr@jpr.com> schreef in bericht news:20011107185117.GC1387@jpradley.jpr.com...
> > Keith Clay propounded (on Wed, Nov 07, 2001 at 09:48:47AM -0800):
> > | Folks,
> > |
> > | We are considering moving from a serial terminal server to ethernet
> > | terminals served by DHCP. They are ET2000 terminals from ComputerLab
> > | and they have a printer port. Is it possible to set the printers up
> > | so that they can be printed to from the SCO lpd spooler.
> >
> > The 'D' in DHCP stands for 'Dynamic', so how will you know which printer
> > resides at which IP address?
>
> <very humbly>
> I always understood DHCP allocates dynamic IP adresses to
> fixed host names. So it would seem to me that there must be a way
> to set up a remote printer port associated with a fixed host name,
> then leaving the rest to DHCP.
No, not quite.
However, all is not lost.
First, Visionfs printing only needs a Netbios name- so that would work,
but not for you :-)
Secondly, if you know MAC addresses (and you can always get that info),
you can get the ip address from arp -an and adjust things as
necessary. That aassumes of course that you are on the same lan and
that some other communication causes arp to be there- a ping will do, of
course.
If a particukar user needs printing to go to their lpd server, that's
easy. I've done that sort of thing for printing over the internet where
someone comes in over ssh from who knows where, but a quick shell script
picks up their ip and modifies /etc/hosts with the new info. This
sounds like it might be what your situation needs- only the user needs
access to their printer? If so, define the hosts by name in printcap
and just modify /etc/hosts as they login- watch out for race conditions-
you need to be careful here.
So yes, you can do this. Just takes a little creativity and some
careful scripting.
--
Tony Lawrence
SCO/Linux Support Tips, How-To's, Tests and more:
Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)
| Views for this page | ||||
|---|---|---|---|---|
| Today | This Week | This Month | This Year | Overall |
| 1 | 2 | 9 | 181 | 846 |
/Bofcusm/1110.html copyright 1997-2004 (various authors) All Rights Reserved
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Add your comments