Re: multiple printers with papd?


Subject: Re: multiple printers with papd?
From: Mark Smith (mcs@terminator.rs.itd.umich.edu)
Date: Tue Feb 16 1993 - 14:25:17 EST


>From: "Jay Plett" <jay@Princeton.EDU>
> To: netatalk-admins@itd.umich.edu
>
> The syntax of etc/papd.conf seems geared to defining only
> a single printer. Trying to run multiple papd's, each with
> a separate config file, doesn't seem to work--the second
> papd logs:
> Feb 16 12:11:58 wolf papd[22192]: pap_slinit
> Feb 16 12:11:59 wolf papd[22192]: initialize: Bad file number (exiting)
>
> How do I make more than one Unix printer available to Macs
> using papd?

Yes, it is true that the current version of papd requires separate
config. files for each instance. The error reporting during
initialization is also not very good. I don't think the "initialize:
Bad file number" is an accurate error message. The pap_slinit call in
etc/papd/common_sources/server.c is failing. It can only fail if there
is a problem getting an ATP "socket" (atp_open) or if the NBP name
register fails. Are you using different choosername: lines in your
papd config. files? I can't think of any good reason why the atp_open
call should fail for the second papd process.

-Mark Smith
 University of Michigan Info Tech Division Unix Group



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:19:44 EST