I should also tell you have I have 2 NIC cards in this box.  It is acting
as a gateway from the private network to the building network.  Everyone
in the building shares a common printer which we want to use, despite our
macs being behing the gateway.

So that is why I need the Unix box to act as the print spooler.  It is the
single point which can see the printer and all the internal computers
which want to print.  If I can get the interal computers to spool their
print jobs on the server and then get the server to print the jobs on the
external printer I will be all set.

My atalkd.conf has two device names.

xl0 -phase 2 -net 65280-65534 -addr 65280.89
xl1 -phase 2 -net 65280-65534 -addr 0.0

If I am unable to connect to it from the outside, that is fine.  The main
problem at hand is printing.



Brennan Stehling - web developer and sys admin
projects: www.greasydaemon.com | www.onmilwaukee.com | www.sncalumni.com

Microsoft: Will you get a macro virus today?
http://www.greasydaemon.com/noms/ <- Why avoid MS?

On Mon, 10 Jul 2000, andrew morgan wrote:

> 
> 
> On Mon, 10 Jul 2000, BWS - Offwhite wrote:
> 
> > I am first simply trying to get it set up so that the Unix box can print,
> > and it did it once so I know it can do that, but I changed the config
> > somehow and now it won't work.
> > 
> > Once I know the print spooler from Unix works, I would like to allow all
> > Macs on the network to use the Unix box as a print spooler.  I have done
> > this before, but I forget how I got it working exactly.
> > 
> > I believe that I need to set the rm and rp printcap settings, but I am not
> > sure what those need to be.  I am now going to move the networking around
> > and let the Mac tell me te correct IP for the printer so I can start over
> > with that information.
> 
> Okay, like you said, let's start by getting it to work from unix first.
> See my comments below.
> 
> > > > Here is my /etc/printcap
> > > > 
> > > > laser|lp|HP LaserJet on AppleTalk:\
> > > >                   :sd=/var/spool/lpd/laser:\
> > > >                   :lp=/var/spool/lpd/laser/null:\
> > > >                   :lf=/var/log/lpd-errs:pw#80:hl:\
> > > >                   :of=/usr/local/libexec/filters/ofpap:\
> > > >                   :if=/usr/local/libexec/filters/ifpaprev:\
> > > >                   :tf=/usr/local/libexec/filters/tfpaprev:\
> > > >                   :df=/usr/local/libexec/filters/dfpaprev:
> 
> You only need the ofpap, ifpap, etc if you are printing to an Appletalk
> printer, i.e. over the Appletalk protocol instead of TCP/IP.  Here is what
> I would use for an HP Laserjet 5si:
> 
> laser|lp|HP LaserJet on AppleTalk:\
>       :sd=/var/spool/lpd/laser:\
>       :rp=raw:\
>       :rm=10.0.0.1:\
>       :lf=/var/log/lpd-errs:pw#80:hl:
> 
> Replace the "rm" value with your printer's IP address.
> 
>       Andy
> 
> 

Reply via email to