From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 20:51:42 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D90F16A4CE for ; Sat, 5 Mar 2005 20:51:42 +0000 (GMT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6ED2D43D5A for ; Sat, 5 Mar 2005 20:51:41 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [69.27.131.0] ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.211); Sat, 5 Mar 2005 14:55:17 -0600 Message-ID: <422A1BD9.9040900@daleco.biz> Date: Sat, 05 Mar 2005 14:51:37 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: v.demartino2@virgilio.it References: <420008E50005AC67@ims3e.cp.tin.it> In-Reply-To: <420008E50005AC67@ims3e.cp.tin.it> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 05 Mar 2005 20:55:17.0920 (UTC) FILETIME=[A3234A00:01C521C5] cc: FreeBSD Subject: Re: Cannot print X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2005 20:51:42 -0000 v.demartino2@virgilio.it wrote: >I've just installed apsfilter on the latest FreeBSD 5.3 to print with my >epson stylus color 640 (driver eps640lp.upp) following both the handbook >chapter on printing & an artcle in freebsddiary.org. >But: >1) If I - running apsfilter SETUP - use the 'T'(est) option, the PC tiringly, >after un unbearable couple of minutes or so, starts printing a first row >of squares of the test picture only, then seems to hang, emitting from time >to time a (useless) sound. At this point it's better to stop CTRL+Del. > >2) If I try to print via lpr -Plp plaintestfile the log under /var/spool/lpd/lp >says >"/usr/local/etc/apsfilter/basedir/bin/apsfilter: cannot open /var/spool/lpd/lp/lock: >Permission denied" >and doesn't print anything. > >Please help. > >Vittorio > > > Is it a permissions issue? IIRC, I had an issue with permissions the first time I set up apsfilter. Here are my permissions on /var/spool and friends: # ll /var/spool | grep lpd && ll /var/spool/lpd && ll /var/spool/lpd/lp drwxr-xr-x 5 root daemon 512 Mar 22 2004 lpd/ total 1 drwxr-xr-x 2 root daemon 512 Mar 2 20:55 lp/ total 41 -rw-r----- 1 root daemon 84 Apr 8 2004 .railmag -rw-r----x 1 root daemon 4 Mar 2 20:55 .seq* -rw-r--r-- 1 root daemon 0 Mar 21 2004 acct -rw-r--r-- 1 root daemon 33 Mar 2 20:55 lock -rw-r--r-- 1 root daemon 42235080 Mar 2 20:55 log -rw-r--r-- 1 root daemon 25 Mar 2 20:55 status HTH, Kevin Kinsey