printer sharing


Subject: printer sharing
From: Craig White (craigwhite@azapple.com)
Date: Sat Feb 03 2001 - 12:14:07 EST


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?

----:----|----:----|----:----|----:----|----:----|----:----|
- Craig White - PO Box 8634 - Scottsdale, Arizona - 85252
- e-mail address ................ - CraigWhite@AzApple.com
- world wide web address ........ - http://www.AzApple.com
- e-mail my pager address ....... - 6023779752@airtouch.net
- cellular phone ................ - (602) 377-9752
- voice/facsimile ............... - (480) 945-8445
----:----|----:----|----:----|----:----|----:----|----:----|



This archive was generated by hypermail 2b28 : Sun Oct 14 2001 - 03:04:31 EDT