Re: papd 'connection refused'


Subject: Re: papd 'connection refused'
From: Carsten Neumann (deltor@snafu.de)
Date: Sat Feb 17 2001 - 14:18:22 EST


On Sat, 17 Feb 2001, Eric van Oorschot (mail wrote:
> I'm using netatalk 1.4.99-0.20001108 and I'm able to use my Linux
> server as a fileserver for my iMac. But I can't get papd to
> work. Whatever I change to the papd.conf file I keep getting the
> follwing messages in my syslog.
>
> Feb 17 19:37:31 gildewg papd[19303]: read_ppd .ppd: No such file or directory
> Feb 17 19:38:00 gildewg papd[19305]: read_ppd .ppd: No such file or directory
> Feb 17 19:38:04 gildewg papd[19305]: lp_conn_unix connect /dev/printer: Connection refused
> Feb 17 19:38:04 gildewg papd[19305]: lp_print: lp_conn_unix: Connection refused
> r
>
> I don't have a /dev/printer. The user in papd :op=oorschot, and that's
> a user that normally can printer from the Linux server. One more
> thing, I'm using LPRng.
>
> Who knows what's going wrong ?
>
>
> Eric van Oorschot

You missed to include your complete papd.conf entry, so I can only guess.
But I had the the same "Connection refused" errors.
One of my papd.conf entries is:

Lasie2:\
        :pr=|/usr/bin/lpr -Plasie:\
        :op=deltaman:\
        :pd=/etc/atalk/LC890.ppd:

where "deltaman" is a mortal user, lasie a printer in printcap, and "/etc/atalk/LC890.ppd" the path
to my PPD file.

I.e. I piped the data through lpr instead of giving just the name of my printcap printer.
Don't know what goes wrong with your PPD file.

Regards

        Carsten



This archive was generated by hypermail 2b28 : Sun Oct 14 2001 - 03:04:32 EDT