Subject: Re: Mac --> Unix Printer
From: Odhiambo Washington (wash@iconnect.co.ke)
Date: Mon Oct 30 2000 - 08:12:53 EST
* Bill Holyoak <bill@powergateway.com> [20001028 23:43]:
=>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.
Well I have that working fine.
=>
=>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.
I have mine working without papd.conf and the papstatus -p gives me the
impression that in FreeBSD no papd.conf is needed - papd actually uses
/etc/printcap.
=>
=>Third off, I don't know if it matters, but you are missing the :op= statement
=>from those two printer deffinitions.
At some point I read that they are not really necessary. In a papd.conf
they say you can have something like
lp:\
:
That would make papd to turn to the default values....
=>Hope this helps...
Thanks. I would want to think that the Macintosh (failing to see any
printers in the Chooser-->Appleshare) has it own problem. It is Mac OS 8.5
I think the FreeBSD boxes are okay...I have 3.5-STABLE and 4.1.1-STABLE
all behaving fine...so I suspect the Mac. Maybe you've got an idea about
what could be funny with the Mac?? It sees the two servers and can connect
to them but no printer shows in Appleshare...
admin:~$ papstatus -p lp2
status: print spooler processing job
admin:~$ papstatus -p lp
status: print spooler processing job
-Wash
-- Odhiambo Washington Inter-Connect Ltd., wash@iconnect.co.ke 5th Flr Furaha Plaza Tel: 254 11 222604 Nkrumah Rd., Fax: 254 11 222636 PO Box 83613 MOMBASA, KENYA.With the whole world full of fools, there is none who thinks himself one, or even suspects it.
This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:32:31 EST