Subject: Re: Mac --> Unix Printer
From: Bill Holyoak (bill@powergateway.com)
Date: Sat Oct 28 2000 - 16:36:19 EDT
Quoting Odhiambo Washington <wash@iconnect.co.ke>:
> =>Here's a sample papd.conf file:
> =>
> =>My Printer:\
> => :pr=|/usr/bin/lpr -Pmyprinter:\
> => :pd=/etc/atalk/ppds/hp8100.ppd:
> =>
> =>Printer 2:\
> => :pr=|/usr/bin/lpr -Pprinter2:\
> => :pd=/etc/atalk/ppds/hp4500.ppd:
>
> I am still struggling.....
> This is from the logs.....
> Oct 28 15:02:23 poeza papd[277]: register poeza:LaserWriter@*
>
> ..and to test...
>
> [wash@poeza:/var/log]> papstatus -p laserwriter
> laserwriter:LaserWriter@*: NBP Lookup failed
>
> Does this suggest anything....
I'm a newbie and I just barely today got my printer working, so I hope I can
help cause I know how frusterating this stuff is. But then, since I'm a newbie,
take my advice with a grain of salt: it might not be totally accurate.
First off I think I read somewhere (whilst looking for solutions to my own
problems) that papd doesn't like printers with spaces in the names. So redo
your papd.conf file like this:
My_Printer:\
:pr=|/usr/bin/lpr -Pmyprinter:\
:pd=/etc/atalk/ppds/hp8100.ppd:
Printer_2:\
:pr=|/usr/bin/lpr -Pprinter2:\
:pd=/etc/atalk/ppds/hp4500.ppd:
Try restarting papd and then type:
# papstatus -p My_Printer
or
# papstatus -p Printer_2
if it says something like 'status: print spooler processing job' then it should
be okay.
Second off, check out Andrew's pointers to me about my problems concerning the
specifics of the papd.conf configuration. If everything is not perfect
(including spaces and tabs as well as formatting characters) in the config file,
papd will run (it shows up in the process list) but it will not run correctly.
Check out your /var/log/messages file to make sure papd started up without
problems. This was my whole problem which cost me two days of extreme
frusteration and I almost gave up.
Third off, I don't know if it matters, but you are missing the :op= statement
from those two printer deffinitions.
Hope this helps...
This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:32:31 EST