[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Help using Linux box as Mac print server



Folks,

I've been trying to use my woody box as print server for a Mac.  I've
tried two approaches and I can't get either to work. I've played
around on and off for several days.  Any help appreciated!

The set up is:

    1) Dual interface box
       * eth0 connected to cable modem
       * eth1 connected to wavelan with non-routable ip.  Macs are on
         this network

    2) Printing using cups.  cups-lpd is running through inetd.

    3) Kernel with appletalk.

       atalk.conf is:

       eth0 -seed -phase 2 -net 25-48 -addr 48.100 -zone "Inside"
       eth1 -seed -phase 2 -net 1-24 -addr 10.100 -zone "Inside"
       
       papd.conf is:

       MyStylus:\
        :pr=|lp:\
        :op=lp:\
        :pd=/etc/cups/ppd/stylus.ppd:


Results:

*  netatalk launches.  None of the services: "Home Directory" defined by
   default in AppleVolumes.default, MyStylus appears in the chooser.
   If I use the IP the AppleShare dialog in the chooser, I can connect
   to my home directory (but this is over IP not Appletalk).

   The AppleTalk control panel does detect the network (e.g. it
   reports the correct network range).
   
   No amount of fiddling with settings seems to get the printer to
   appear in the chooser.

   I can do a "pap -p MyStylus file.ps" from the Linux box and it
   does print.  "nbplkup" shows all of the services.

* I then tried to configure the Mac to use a lpd printer.  When I
  to use this printer, I can see the connection to the cups-lpd
  daemon.  But nothing prints.  I can print from linux laptop
  on the private network (via cups but to network lpd).

Any thoughts on either of these failed attempts to get a Mac to
print to the printer on the Linux box?

Thanks!!!

--Martin



Reply to: