From owner-freebsd-questions@FreeBSD.ORG Thu Apr 22 19:28:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C00F41065672 for ; Thu, 22 Apr 2010 19:28:54 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 7AB268FC19 for ; Thu, 22 Apr 2010 19:28:54 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o3MJSrGK080219; Thu, 22 Apr 2010 13:28:53 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o3MJSr2E080216; Thu, 22 Apr 2010 13:28:53 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 22 Apr 2010 13:28:53 -0600 (MDT) From: Warren Block To: =?ISO-8859-15?Q?Frank_Wi=DFmann?= In-Reply-To: <4BD09B9E.1040803@web.de> Message-ID: References: <4BD08236.8060706@web.de> <4BD09B9E.1040803@web.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Thu, 22 Apr 2010 13:28:53 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: Problems with printing 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, 22 Apr 2010 19:28:54 -0000 On Thu, 22 Apr 2010, Frank Wi?mann wrote: > Warren Block schrieb: >> On Thu, 22 Apr 2010, Frank Wi?mann wrote: >> >>> I'm facing serious problems with my new bought HP ColorLaserjet 2025dn. >>> I plugged it in the right interface and it got detected. I did set up >>> /etc/printcap as following: >>> >>> p|local line printer|HPColorLaserjet:\ >>> :lp=/dev/ulpt0:\ >>> :sh:\ >>> :mx#0:\ >>> :sd=/var/spool/lpd/HPColorLaserjet:\ >>> # :if=/usr/local/libexec/ps2pcl:\ >>> :if=/usr/local/libexec/psif:\ >>> :lf=/var/log/lpd-errs: >> >> That whole printer definition is one long line; backslashes are line >> continuation characters. >> >> Because of that, you can't just comment out individual sections. Remove the >> whole ps2pcl filter line. >> >> That may not be the whole problem, but it's a start. > > Removing the line and restarting lpd/retrying printing didn't do anything. No > mails, no error messages, no printing. There's a missing "l" at the start of that entry, maybe just a cut and paste error. See what chkprintcap(9) says. Also 'lpc status lp'. > By cd'ing into /var/spool/lpd to look after queued jobs I noticed that the > whole file structure under that directory belongs to "root:frank" whereas the > /var/spool/lpd/-directory is owned by "root:daemon". Does that matter? Don't know, but I set group and owner to daemon:daemon. Incidentally, using the first name of the printer (lp) for the spooldir would make more sense to me. -Warren Block * Rapid City, South Dakota USA