From owner-freebsd-questions@FreeBSD.ORG Thu Apr 22 20:46:30 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 522A11065674 for ; Thu, 22 Apr 2010 20:46:30 +0000 (UTC) (envelope-from frank.wissmann41@web.de) Received: from fmmailgate02.web.de (fmmailgate02.web.de [217.72.192.227]) by mx1.freebsd.org (Postfix) with ESMTP id D910D8FC18 for ; Thu, 22 Apr 2010 20:46:29 +0000 (UTC) Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate02.web.de (Postfix) with ESMTP id A722C15E6E490; Thu, 22 Apr 2010 22:46:28 +0200 (CEST) Received: from [77.176.203.45] (helo=grissom.einundvierzig.org) by smtp07.web.de with asmtp (WEB.DE 4.110 #4) id 1O53I4-0005xu-00; Thu, 22 Apr 2010 22:46:28 +0200 Message-ID: <4BD0B5CD.3050102@web.de> Date: Thu, 22 Apr 2010 22:47:09 +0200 From: =?ISO-8859-1?Q?Frank_Wi=DFmann?= User-Agent: Thunderbird 2.0.0.23 (X11/20091214) MIME-Version: 1.0 To: Warren Block References: <4BD08236.8060706@web.de> <4BD09B9E.1040803@web.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: frank.wissmann41@web.de X-Sender: frank.wissmann41@web.de X-Provags-ID: V01U2FsdGVkX19g/h8IYmKOxiNHqdnygmcPCcmPETYjvMsS6o88 tgPRQOON2B3fQ5YaOvU8HHHNOA2KG8yi74oF+rHkP7Hj8UNSN6 6cQ8G2lr0UqFZ7i5mjJA== Cc: freebsd-questions@freebsd.org Subject: Re: Problems with printing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: frank.wissmann41@web.de List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2010 20:46:30 -0000 Hi! Warren Block schrieb: > 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. That's it. > > See what chkprintcap(9) says. Also 'lpc status lp'. "chkprintcap -d -f /etc/printcap" exits with no error message. "lpc status lp" gives that: lp: queuing is enabled printing is enabled no entries in spool area printer idle > >> 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, Which directories do you include in "daemon:daemon"? > using the first name of the printer (lp) for the spooldir would make > more sense to me. I did change that but it seems not to have any effect. I also took my user in the groups "daemon" and "operator" but that didn't help, too. > > -Warren Block * Rapid City, South Dakota USA > Greetings Frank -- GU d- s:+ a+ C+>$ UBS>$ P L- !E--- W N+@ !o K--? !w--- O !M- !V- PS+ PE Y? !PGP- t+ 5 X !R tv- b++ DI !D G e h+ r- y? When pack meets pack in the jungle and no one will move from the trail wait till the leaders have spoken it may be fair words shall prevail (Rudyard Kipling)