Subject: Re: printer sharing
From: Carsten Neumann (deltor@snafu.de)
Date: Sat Feb 03 2001 - 16:10:09 EST
On Sat, 03 Feb 2001, Craig White wrote:
> Perhaps someone can give me a quick fix on this.
>
> When I print from a Macintosh on the network, the jobs don't print and I get
> the following in my syslog...
>
> Feb 2 22:29:03 barney papd[857]: child 22961 for "felix2" from 65499.251
> Feb 2 22:29:13 barney papd[22961]: lp_conn_unix connect /dev/printer:
> Connection refused
> Feb 2 22:29:13 barney papd[22961]: lp_print: lp_conn_unix: Connection
> refused
> Feb 2 22:29:13 barney papd[857]: child 22961 done
>
> if I restart the lpd daemon, I get the message on screen
>
> permissions of XXXXXXXbarney.azapple.com are 640 not 600
> owner/group of XXXXXXXbarney.azapple.com are 0/0 not 4/7
> changing ownership of XXXXXXXbarney.azapple.com to 4/7
>
> and then the job will print.
>
> my papd.conf...
>
> felix2:\
> :pr=lp:\
> :op=lp:\
> :pd=/usr/lib/atalk/HPLJ_4M.PPD:
>
> my /etc/printcap...
> #
> # This printcap is being created with printtool v.3.41
> # Any changes made here manually will be lost if printtool
> # is run later on.
> # The presence of this header means that no printcap
> # existed when printtool was run.
> #
> ##PRINTTOOL3## LOCAL POSTSCRIPT 600x600 letter {} PostScript Default {}
> lp|Felix2:sd=/var/spool/lpd/lp:sh:mx#0:if=/var/spool/lpd/lp/filter:lp=/dev/l
> p0:
>
> I've tried different op= and even without the op statement at all but it
> doesn't seem to matter. How do I get print jobs to user.group 4.7 and
> permissions to 600 and not 640 or simply, how can I print jobs that are
> acceptable to lpd?
Change the entry in your papd.conf as follows:
felix2:\
:pr=|/usr/bin/lpr -Plp:\
:op=lp:\
:pd=/usr/lib/atalk/HPLJ_4M.PPD:
That did it for me - I had very similar problems.
Regards
Carsten
This archive was generated by hypermail 2b28 : Sun Oct 14 2001 - 03:04:31 EDT