From owner-freebsd-questions@FreeBSD.ORG Thu Mar 20 18:42:16 2008 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 A4D00106564A for ; Thu, 20 Mar 2008 18:42:16 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: from smtp.knology.net (smtp.knology.net [24.214.63.101]) by mx1.freebsd.org (Postfix) with ESMTP id 563C78FC13 for ; Thu, 20 Mar 2008 18:42:16 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: (qmail 17884 invoked by uid 0); 20 Mar 2008 18:42:14 -0000 Received: from unknown (HELO Grumpy.DynDNS.org) (216.186.148.249) by smtp1.knology.net with SMTP; 20 Mar 2008 18:42:14 -0000 Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id 197AC28425; Thu, 20 Mar 2008 13:42:14 -0500 (CDT) Date: Thu, 20 Mar 2008 13:42:14 -0500 From: David Kelly To: Gary Kline Message-ID: <20080320184214.GA11017@Grumpy.DynDNS.org> References: <20080320173124.GA2611@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080320173124.GA2611@thought.org> User-Agent: Mutt/1.4.2.3i Cc: FreeBSD Mailing List Subject: Re: more on FreeBSD and Brother HL-5250-DN 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, 20 Mar 2008 18:42:16 -0000 On Thu, Mar 20, 2008 at 10:31:27AM -0700, Gary Kline wrote: > > Very late last night it occurred to me that the reason no > /dev/lpt0 was that my parallel cable isn't plugged into my new > printer. The test pages work via the cat5 <-> switch; this > HTML helped me configure the 5250. When I another geek over > here to plug things together, I'll be able to test the > /etc/printcap. Here it is, as auto-installed by dpkg -i:: > > HL5250DN:\ > :mx=0:\ > :sd=/var/spool/lpd/HL5250DN:\ > :sh:\ > :lp=/dev/usb/lp0:\ > :if=/usr/local/Brother/lpd/filterHL5250DN: I forgot, is there a reason you are not using apsfilter out of ports? Stick with apsfilter and its lengthy guided text-based config and you will have a working printer in short order. Have almost never used my 5250 from FreeBSD so its not currently configured and I'm no where near it at the moment. But after fussing with other "solutions" including CUPS, I keep coming back to good old simple apsfilter. To print via network lpd style change your lp line to :lp=:\ Specify the remote system by IP address or name something like this: :rm=kyocera.local:\ And specify the printer queue on rm that one is to print: :rp=lp:\ You can list the printer name in /etc/hosts if its difficult to add to DNS proper. Or just put the numbers in rm= above. I have a caching bind running above where I've added a .local domain for internal machines. The main thing I use the Kyocera printer (above) is to print man pages. "man -t man | lp". Very pretty and impressive man pages. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad.