Subject: Printing via netatalk?
To: netbsd-help Mailing List <netbsd-help@netbsd.org>
From: Dirk Gassen <gadi0013@fh-karlsruhe.de>
List: netbsd-help
Date: 11/30/1998 23:40:00
Hi,

I finally managed to print to a LaserWriter II via netatalk. I start the
job with
	lpr -Plp1 test.ps
and the printer starts printing.
The entries in /var/log/lpd-errs indicate a successfully processed job. 
Only one problem: The log file for the printer (/var/log/lpd-iintx-errs)
has the message
	status: Permission denied
I think that I have to fix some access rights but I can't figure out which
files/directorys.

This is the printcap entry:
	lp1|LaserWriter IIntx:\
		:lp=/dev/null:\
		:sd=/var/spool/iintx:\
		:lf=/var/log/lpd-iintx-errs:\
		:sh:sf:\
		:mx#0:\
		:pl#63:pw#85:\
		:if=/usr/local/atalk/etc/filters/ifpap:\
		:of=/usr/local/atalk/etc/filters/ofpap:

This is the spool directory:
	bash# ls -ld /var/spool/iintx
	drwxr-xr-x  2 root  wheel  512 Dec 1 00:24 /var/spool/iintx
	bash# ls -l /var/spool/iintx
	-rw-r--r--  1 root  wheel  33 Oct 18 13:59 .paprc
	-rw-r----x  1 root  wheel   4 Dec  1 13:59 .seq
	-rw-r--r--  1 root  wheel  17 Dec  1 13:59 lock
	-rw-rw-r--  1 root  wheel  26 Dec  1 13:59 status

Removing the files "lock" and "status" as root doesn't change anything.

Any ideas?

-Dirk Gassen