Re: Repost Re: Netatalk


Subject: Re: Repost Re: Netatalk
From: rgp systems (rgp@systame.com)
Date: Thu Sep 14 2000 - 08:41:57 MDT


Seems I spoke too soon. Below is a post to several newsgroups on the subject
"LPRng and Netatalk". I finally got it to work. I'd suggest you get the
LPRng src rpm (ftp://ftp.astart.com/pub/LPRng/LPRng/LPRng-3.6.24-1.src.rpm)
and the ifhp filter package
(ftp://ftp.astart.com/pub/LPRng/FILTERS/ifhp-3.3.21-1.src.rpm) from
http://www.astart.com/lprng/LPRng.html, install them, and try my printcap
settings below.

*********

Well, I decided to play around a bit more with config files, and found
something that works. Here's my printcap:

lp:\
    :sd=/var/spool/lpd/lp:\
    :mx#0:\
    :sh:\
    :lp=| -$ /usr/bin/pap -e -p "Randy's Laserjet":\
    :ifhp=model=ps,status@:\
    :filter=/usr/lib/atalk/filters/ifpap

I just replaced ifhp with ifpap in the 'filter' parameter. Not sure why it
works, or if there are useless or redundant settings here, but it works and
I'm not messing with it.

Unfortunately, pap is not offering the printer on appletalk. Here's my
papd.conf:

LJ4:\
    :pr=| /usr/bin/lpr -Plp:\
    :pd=/usr/local/lib/ppd/lj4:

But, I was able to successfully create LPR printers with Apple's desktop
printer utility; so no big deal.

>
>
>> trying this again...
>>
>>> Hi folks. I'm trying to print via AppleTalk to my SilentWriter 95, with
>> limited
>>> success. All my Macs can print to it, just not the Linux box.
>
> When you say Macs can print to it, do you mean directly, or through the Linux
> print server?
>
> I've been unable ever to get appletalk printing to work on linux (except by
> directly using pap, i.e. pap -p <printername> <filename>). I've tried it with
> MkLinux and YDL using lpr and LPRng.
>
>
>>> Several questions about netatalk...
>>>
>>> 1. does anyone know where Chuck Shotton's notes on netatalk setup went?
>> They're
>>> not at
>>> http://www.biap.com/Linux/asip.html
>>> anymore, contrary to the Faq-O-Matic.
> Don't know
>
>>> 2. lpq is reporting
>>> "Warning: unable to get official name for remote machine" which I take it
>> means
>>> my /etc/printcap has the wrong name for my printer.
>>> I've tried to use nbplkup to find out what's on the network according to
>> atalk,
>>> but the syntax has me confused.
>>> nbplkup :LaserWriter returns "Invalid argument" despite the fact the the man
>>> page for nbplkup gives this exact line as an example. Otherwise the man page
>> is,
>>> shall we say, somewhat terse.
>>> Several other variations have also failed (nbplkup =:=@*, nbplkup
>>> =:LaserWriter@*, etc.)
>>>
> You can use nbplkup with no arguments to get a complete list of appletalk
> devices on the net.
>
> You can also try the following forums, you'll have to subscribe 1st:
> <linux-atalk@netspace.org>
> <netatalk-admins@umich.edu>

-- 
Randy Perry
rgp systems

Mac Consulting/Sales



This archive was generated by hypermail 2a24 : Thu Sep 14 2000 - 08:48:18 MDT