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.
Below is my original post.
on 8/24/00 10:28 AM, rgp systems at [EMAIL PROTECTED] wrote:
> I've got netatalk 2.1.38 running good on Yellow Dog Linux on a Mac G3. My
> printer is a HP
> LJ4M.
>
> I installed LPRng, as per recommendations on netatalk lists. Everything
> seems to be set up correctly. If I print with lpr -Plp test.ps it shows up
> in the
> queue. My HP blinks a few times -- then nothing. Guess the server keeps
> trying cause a few seconds later the printer will blink twice again -- and
> still nothing.
>
> So: the file spools ok, the printer is being seen, but the job isn't going
> through.
>
> Printing with pap (pap -p "LJ4" test.ps) works fine.
>
> I also installed LPRng on a completely different, well-functioning appletalk
> network, using MkLinux with a LaserWriter IIg -- with the same results.
>
> HELP!
>
>
> Below are my config files:
>
>
> Printcap ***
> lp|LJ4|Randy's Laserjet: \
> :lp=| -$ /usr/bin/pap -e -p "Randy's Laserjet": \
> :sd=/var/spool/lpd/lp: \
> :ifhp=model=ps,status@: \
> :filter=/usr/local/libexec/filters/ifhp
>
> papd.conf ***
>
> :pr=| /usr/bin/lpr -Plp:\
> :op=netatalk:\
> :pd=/usr/local/lib/PPDs/Hewlett-Packard/LaserJet4
>
>
> atalkd.conf ***
> eth0 -phase 2 -net 0-65534 -addr 65280.164
>
> afpd.conf ***
> "G3 Netatalk" -tcp
>
--
Randy Perry
rgp systems
Mac Consulting/Sales
-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------