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:
/Bofcusm/1112.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.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar