Re: problems with papd


Subject: Re: problems with papd
From: Dejan Muhamedagic (dejanm@aon.at)
Date: Sun May 07 2000 - 11:51:36 EDT


Hi,

On Sun, May 07, 2000 at 03:58:40PM +0200, Moritz Kaiser wrote:
>
> The first funny thing is, there is no termcap in my etc. I'm using
> terminfo database.

Not sure where this exactly stems from, but it definitely refers to
printcap and not termcap. The point being, however, that the same
syntax is used for both.

> The second funny thing is, if i remove /etc/netatalk/papd.conf and replace
> it with touch /etc/netatalk/papd.conf, no errors are encountered.

And you have no printers served :)

> My printcap has no errors, because I'm able to print via Samba without any
> problems.

This is interesting. It could be that there's a bug in papd function
which is parsing /etc/printcap. Or, perhaps, lpd handles errors in
printcap gracefully.

> Ah, PS: my /etc/printcap:
> 8<-----------------------
> lp|kyo|kyocera:\
> :lp=/dev/lp2:sd=/var/spool/lpd/kyo:\
> :sh:pw#80:pl#72:px1440:mx#0:\
Could there be an err^^or (px#1440)?

Regardless, I would suggest that you try with a very simple printcap
entry (referred to from papd.conf) and then try adding more capabilities
until you find an error. Also, did you try changing the lp capability
to pipe in papd.conf as it was suggested?

Dejan



This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:30:39 EST