From owner-freebsd-questions@FreeBSD.ORG Wed Jan 18 23:30:56 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 F32CE16A41F for ; Wed, 18 Jan 2006 23:30:55 +0000 (GMT) (envelope-from ivan.roth@free.fr) Received: from smtp6-g19.free.fr (smtp6-g19.free.fr [212.27.42.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8ADD843D46 for ; Wed, 18 Jan 2006 23:30:55 +0000 (GMT) (envelope-from ivan.roth@free.fr) Received: from imp3-g19.free.fr (imp3-g19.free.fr [212.27.42.3]) by smtp6-g19.free.fr (Postfix) with ESMTP id C7C449623; Thu, 19 Jan 2006 00:30:54 +0100 (CET) Received: by imp3-g19.free.fr (Postfix, from userid 33) id AB75E5444F; Thu, 19 Jan 2006 00:30:37 +0100 (MET) Received: from 83.214.71.138 ([83.214.71.138]) by imp4.free.fr (Horde) with HTTP for ; Thu, 19 Jan 2006 00:30:37 +0100 Message-ID: <20060119003037.dzn4sk79cww4ks0c@imp4.free.fr> Date: Thu, 19 Jan 2006 00:30:37 +0100 From: ivan.roth@free.fr To: chris@monochrome.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.2) Cc: freebsd-questions@freebsd.org Subject: Re: loosing hair inside canon printer... 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: Wed, 18 Jan 2006 23:30:56 -0000 Chris Hill wrote: > On Wed, 18 Jan 2006, ivan.roth@free.fr wrote: > >> This said, I have this in dmesg: > > > [snip] > >> Probing for PnP devices on ppbus0: >> ppbus0: PRINTER BJL,BJRaster3,BSCCe > > > [snip] > >> simple question: how freebsd know about the name of my printer? > > > I imagine FreeBSD queries the parallel port to see what's there > ("Probing..."), and then the printer responds with the information > displayed above. > >> # chkprintcap >> chkprintcap: WARNING: found 1 entries when skimming /etc/printcap >> chkprintcap: WARNING: but only found 0 queues to process! > > > Could it be there is no spool directory? There should be something like > :sd=/var/spool/output/lpd: > in /etc/printcap; make sure that directory exists. > > Also, is lpd running? What output does > ps -aux | grep lpd > produce? The simplest way to run lpd is to put the following in > /etc/rc.conf: > > lpd_enable="YES" # Run the line printer daemon. > > Hope this helps. > > -- > Chris Hill chris@monochrome.org > ** [ Busy Expunging <|> ] > > Hi Chris, Thanks for replying. I got lpd_enable="YES", and lpd is running. I have the directory in /etc/printcap created, and permissions are ok on it. I even tried to change my printer's name (but I let lp as an alias I think it is mandatory for at least the first printer, and I changed the directory in the sd variable in /etc/printcap. no change. by the way, thanks for trying. Any other idea ? -- Regards, Ivan.