From owner-freebsd-questions@FreeBSD.ORG Thu Mar 20 21:21:36 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 DF6C61065763 for ; Thu, 20 Mar 2008 21:21:36 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id 570E68FC23 for ; Thu, 20 Mar 2008 21:21:35 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m2KLLU0X066425; Thu, 20 Mar 2008 14:21:30 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 20 Mar 2008 14:21:30 -0700 (PDT) Date: Thu, 20 Mar 2008 14:21:30 -0700 From: Gary Kline To: David Kelly Message-ID: <20080320212130.GC3306@thought.org> References: <20080320173124.GA2611@thought.org> <20080320184214.GA11017@Grumpy.DynDNS.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080320184214.GA11017@Grumpy.DynDNS.org> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 21++ years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org 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 21:21:37 -0000 On Thu, Mar 20, 2008 at 01:42:14PM -0500, David Kelly wrote: > 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. Well, the only reason not is sheer ignorance! i have used several of the /usr/ports/print utilities and thought that apsfilter did file filtering: there are at least a couple filters that ``pretty-print'' C programs. Guilty of not having kept up with advances in this kind of software ... but then my old hp deskjet 500 lasted 16, 17 years :-) bAck then I was running SVR4 on a homebrew 386-40. But hey... . > > 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 gentleman who helped me join the 21st century made several mods to my DNS files. My ISP wouldn't grant permission for me to control my reverse lookup, so I haven't paid attn to my those filess, including my internal network. But when I had more machines, I did use the remote lpd stuff. In fact, after I gave up on CUPS (On ethos: my Ubuntu desktop), I used the remote lpr/lpr printcap. It's still there, :-) > > The main thing I use the Kyocera printer (above) is to print man pages. > "man -t man | lp". Very pretty and impressive man pages. That, sir, is the only way! Some of the man pages are so dense that reading them online is impossible. Give me ink+paper and I'll go in a corner and read. The past N years I need my printer for to correct essays [ and still some code ], but it's a must-have. Thanks for the *clue*... . gary PS: personal response coming to your offline mail ... day or so. meetings etc call right now. > > -- > David Kelly N4HHE, dkelly@HiWAAY.net > ======================================================================== > Whom computers would destroy, they must first drive mad. -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org