From owner-freebsd-questions@FreeBSD.ORG Thu Apr 27 04:14:20 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 38DB916A402 for ; Thu, 27 Apr 2006 04:14:20 +0000 (UTC) (envelope-from thats@notyourhomework.net) Received: from jay.exetel.com.au (jay.exetel.com.au [220.233.0.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7579643D45 for ; Thu, 27 Apr 2006 04:14:19 +0000 (GMT) (envelope-from thats@notyourhomework.net) Received: (qmail 31556 invoked by uid 507); 27 Apr 2006 14:14:17 +1000 Received: from 28.101.233.220.exetel.com.au (HELO ?192.168.1.100?) (220.233.101.28) by jay.exetel.com.au with SMTP; 27 Apr 2006 14:14:17 +1000 Mime-Version: 1.0 (Apple Message framework v623) In-Reply-To: <20060426194552.M1100@www.pukruppa.net> References: <658be17fbe25500c985c5b8fc35ffc95@notyourhomework.net> <20060423091441.M1100@www.pukruppa.net> <499dd1ce422438ea0c0ac99b1f41ce8b@notyourhomework.net> <20060423133640.D1100@www.pukruppa.net> <20060423140319.S1100@www.pukruppa.net> <1209639b8bc7faaeb76ebf0932051131@notyourhomework.net> <20060425191942.P1100@www.pukruppa.net> <544660b49b4b30f3139c0fbebad337ae@notyourhomework.net> <20060426194552.M1100@www.pukruppa.net> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <56d68e774a001387e8169bd8638484c7@notyourhomework.net> Content-Transfer-Encoding: 7bit From: Malcolm Fitzgerald Date: Thu, 27 Apr 2006 14:14:18 +1000 To: freebsd-questions@FreeBSD. ORG X-Mailer: Apple Mail (2.623) Cc: Subject: Re: Help needed compiling printer source code X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 04:14:20 -0000 On 27/04/2006, at 7:33 AM, P.U.Kruppa wrote: > On Wed, 26 Apr 2006, Malcolm Fitzgerald wrote: > >>>> I've set up a printer. >>>> location: lpt0 >>>> Printer State: idle, accepting jobs >>>> device URI: parallel:/dev/lpt0 >>>> Printing the test page does not work, the job is aborted with >>>> error: client-error-not-possible >>> The most probable reason for this is that some user permissions are >>> set incorrectly. We have to analyze this step by step. >>> 1) Try to print directly from the command line: >>> # printf "Hello World \f" > /dev/lpt0 >>> If your printer is connected correctly to your parallel port, >>> *something* should be printed out. >> >> as user I get "cannot create /dev/lpt0: Permission denied" > That is o.k.. You should try to setup your printer as root first > anyway: you always can solve problems with lower user permissions > later on. > >> as root I get a blank page > So at least your printer can print the form feed character "\f" > :-) > > As Robert Huff suggested in his mail one reason might be wrong > permissions of your spooler directory. > 2) If you haven't set it otherwise it should be found at > /var/spool/cups > 3) # cd /var/spool/ > # ls -l > should show this > drwx--x--- 3 root daemon 1536 26 Apr 19:44 cups > 4) Inside /var/spool/cups you should find some files with > names like > c00001 > c00002 > c00003 > and so on, each representing one print job. Yes, I have that. Changing permissions on /var/spool/cups/ to 777 hasn't changed things. Each time I try to print a test page from the cups "Printers" page the job is aborted. mystified.