From owner-freebsd-questions@FreeBSD.ORG Thu Oct 25 14:19:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6B002848 for ; Thu, 25 Oct 2012 14:19:12 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id A01138FC17 for ; Thu, 25 Oct 2012 14:19:11 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q9PEJ0Q0048246; Thu, 25 Oct 2012 08:19:00 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q9PEJ0mw048243; Thu, 25 Oct 2012 08:19:00 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 25 Oct 2012 08:18:59 -0600 (MDT) From: Warren Block To: Olivier Nicole Subject: Re: FreeBSD based, standalone, print server In-Reply-To: <201210250920.q9P9KZIJ023501@banyan.cs.ait.ac.th> Message-ID: References: <201210250920.q9P9KZIJ023501@banyan.cs.ait.ac.th> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Thu, 25 Oct 2012 08:19:00 -0600 (MDT) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2012 14:19:12 -0000 On Thu, 25 Oct 2012, Olivier Nicole wrote: > The network card on my HP 4300 is definitely dead. All I am left with > is a... parallel port! Just for clarity, is that the good kind of HP 4300, a laser printer, or the other kind, a multifunction inkjet? > But the printer is still working fine, printing fast and in good > quality. > > I don't want to invest in a new network card though, while I have a > bunchg of old systems lying around. > > Solutions are: > > 1) I set-up a small FreeBSD box, with printer spooler, and all my > quota stuff; > > 2) I find a solution to bridge the parallel port and the ethernet > port. This is more exciting and I keep the quota and spooling on > the original print server. > > Any cue for the option 2? Without a way to reprogram the firmware in the printer, you'll have to use a server on a computer. lpd(8) works, but your later post says you want to use port 9100. It should be possible to use something like nc(1) to receive raw data on port 9100 and just dump it to the parallel port. There will be little or no error handling. Finding an EIO JetDirect would be better, if it is the right kind of printer.