From owner-freebsd-questions@FreeBSD.ORG Thu Sep 7 18:17:39 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 50D8B16A4E0 for ; Thu, 7 Sep 2006 18:17:39 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.49.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A90B43D62 for ; Thu, 7 Sep 2006 18:17:37 +0000 (GMT) (envelope-from paul@gromit.dlib.vt.edu) Received: from zappa.Chelsea-Ct.Org (pool-72-66-200-233.ronkva.east.verizon.net [72.66.200.233]) by gromit.dlib.vt.edu (8.13.6/8.13.4) with ESMTP id k87IHVlF051255 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 7 Sep 2006 14:17:32 -0400 (EDT) (envelope-from paul@gromit.dlib.vt.edu) Received: from zappa.Chelsea-Ct.Org (localhost [127.0.0.1]) by zappa.Chelsea-Ct.Org (8.13.7/8.13.7) with ESMTP id k87IHUAM042302 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 7 Sep 2006 14:17:30 -0400 (EDT) (envelope-from paul@gromit.dlib.vt.edu) Received: (from paul@localhost) by zappa.Chelsea-Ct.Org (8.13.7/8.13.7/Submit) id k87IHUGA042301; Thu, 7 Sep 2006 14:17:30 -0400 (EDT) (envelope-from paul@gromit.dlib.vt.edu) From: Paul Mather To: freebsd-questions@freebsd.org In-Reply-To: <20060907170628.8E30116A537@hub.freebsd.org> References: <20060907170628.8E30116A537@hub.freebsd.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Thu, 07 Sep 2006 14:17:28 -0400 Message-Id: <1157653048.36687.8.camel@zappa.Chelsea-Ct.Org> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 FreeBSD GNOME Team Port X-Greylist: Sender succeeded STARTTLS authentication, not delayed by milter-greylist-2.0.2 (gromit.dlib.vt.edu [128.173.49.29]); Thu, 07 Sep 2006 14:17:37 -0400 (EDT) Cc: Robert Huff Subject: Re: cups 1.2.2 and parallel port printers 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, 07 Sep 2006 18:17:39 -0000 On Thu, 7 Sep 2006 08:42:11 -0400, Robert Huff wrote: > rance@frontiernet.net writes: > > > anybody seen this behavior before? or have a clue? > > I don't know if this is your problem, but I have seen similar > issues. > _In my case_, CUPS as ported does not like the permissions on > /dev/lpt0*. They default to "crw-------"; setting them to > "crw-rw-rw-" makes the parallel printer appear. > There should be a way to tall devfs to change those > permissions > automatically, but I haven't been able to figure it out. > > > > Robert Huff I have this in my /etc/devfs.rules file on a system successfully using CUPS with a parallel port printer: [localrules=10] add path 'lpt*' mode 0660 group cups (I also have 'devfs_system_ruleset="localrules"' in my /etc/rc.conf file.) That makes sure that CUPS can access the lpt* devices (including the lpt*.ctl devices). Mode 0660 also ensures that not everyone can access lpt*, just root and members of the cups group (i.e., CUPS). Cheers, Paul. -- e-mail: paul@gromit.dlib.vt.edu "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." --- Frank Vincent Zappa