dhcp lpd printing


What is this stuff?

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>


Hate these ads?



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)

Or use any RSS reader

Delivered by FeedBurner


Views for this page
Today This Week This Month This Year  Overall
2527360 1,076

/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.

Publishing your articles here

More:
       - Newsgroup




Unix/Linux Consultants

Your ad here - $48.00 yearly!

http://echo3.net/ Unix/Linux Custom Applications, Web Hosting, C/C++ Programming Courses


http://www.cleverminds.net Need expert advice? Want a second opinion? CleverMinds is a one-stop-shop for a wide range of technology solutions. We support Unix, Linux, SCO as well as CMS, ecom, blogs, podcasts, search engines consulting and more. Contact us at web2.0@cleverminds.net 0r (617) 894-1282


http://thatitguy.com Business networking servers, Linux and Unix experts. In business since 1997! Windows and Exchange to Samba and Scalix migration experts.



Twitter
  • Nov 18 20:41
    I'll be out all day Wednesday the 19th, hard to reach even by phone. Leave a message and have patience.
  • Nov 18 10:07
    What am I doing? Not doing what I WANT to be doing! Oh, well, in every life a little work must fall..




card_image








Change Congress


Related Posts