Subject: Re:[netatalk-admins] pap, on my Debian/GNU Linux machine
From: swift (swift@mercury.warped-reality.com)
Date: Fri Oct 30 1998 - 03:39:09 EST
Thank you very much, this got me even farther. Looks like I found my last
problem before I get this working...the .paprc file. Perhaps I'm unclear
as to what exactly should be in this file. I have the following:
LaserWriter
"LaserWriter" is the name of the printer, it's on the ethernet network,
being bridged by the PPC, from localtalk. Should I have something else in
my .paprc? I tried what you had in yours, no such luck. After a while, I
still get the LaserWriter 4/600 PS:LaserWriter@*: NBP Lookup failed
...What important point am I missing here?
_________________________________________________________________
We all know Linux is great... it does infinite loops in 5 seconds.
- Linus Torvalds
__________________________________________________________________
On Fri, 30 Oct 1998, Sak Wathanasin wrote:
> In reply to swift's message of the 29/10/98 at 11:09 -0800,
>
>
> > Oct 29 11:07:53 mercury lpd[3856]: laser: output filter died (1)
> > Oct 29 11:07:53 mercury lpd[3856]: restarting laser
> > Oct 29 11:07:53 mercury ofpap[4211]: starting for ?
> > Oct 29 11:07:53 mercury ofpap[4211]: sending to pap[4212]
> > Oct 29 11:07:53 mercury ofpap[4211]: straight text
> > Oct 29 11:07:53 mercury ofpap[4211]: 4212 died with 2
>
> I remember getting this when I first tried to set up printing from my Linux
> box. Unfortunately, I can't remember what I did to fix this. All I can do for
> now is to tell you how I've set things up here, and hopefully by comparing them
> with your settings, you'll be able to locate the problem.
>
> my /etc/printcap has
>
> laser|lp|LaserWriter LW600 on AppleTalk:\
> :sd=/var/spool/lpd/laser:\
> :lp=/dev/null:\
> :lf=/var/log/lpd-errs:pw#80:hl:\
> :of=/usr/local/etc/filters/ofpap:\
> :if=/usr/local/etc/filters/ifpap:\
> :tf=/usr/local/etc/filters/tfpap:\
> :df=/usr/local/etc/filters/dfpap:
>
> The filters /usr/local/etc/filters/ofpap &c are all symbolic links to (in my
> case) /usr/local/etc/psf, which has permissions:
>
> -rwxr-xr-x 1 root root 32110 Jul 18 15:19 /usr/local/etc/psf
>
> /var/spool/lpd/laser is set thusly:
>
> /var/spool/lpd/laser:
> total 7
> drwxrwsr-x 2 root lp 1024 Oct 12 23:59 .
> drwxrwxr-x 3 root daemon 1024 Dec 27 1997 ..
> -rw-r--r-- 1 root lp 33 Dec 27 1997 .paprc
> -rw-rw---- 1 root lp 84 Oct 11 23:49 .railmag
> -rw-r----x 1 root lp 4 Oct 12 23:59 .seq
> -rw-r--r-- 1 root lp 4 Oct 26 01:08 lock
> -rw-rw-r-- 1 root lp 32 Oct 12 23:59 status
>
> I think all I needed to do was to create the spool dir plus the file .paprc
> which contains
>
> LaserWriter 4/600 PS:LaserWriter
>
> I vaguely recall that it's not an lp problem at all, but some permissions
> problem to do with the filters themselves: I think I tracked it down in the end
> by running the filters by hand and seeing what happened (eg cat blah
> |/usr/lib/atalk/filters/ofpap).
>
> Good luck!
>
> Sak Wathanasin
> Network Analysis Limited
> 178 Wainbody Ave South, Coventry CV3 6BX, UK
>
> Internet: sw@nan.co.uk
> Phone: (+44) 1203 419996 Fax: (+44) 1203 690690
>
>
This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:33:38 EST