From owner-freebsd-questions Tue Apr 23 11:21:04 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA22938 for questions-outgoing; Tue, 23 Apr 1996 11:21:04 -0700 (PDT) Received: from fslg8.fsl.noaa.gov (fslg8.fsl.noaa.gov [137.75.131.171]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA22933 for ; Tue, 23 Apr 1996 11:20:59 -0700 (PDT) Received: by fslg8.fsl.noaa.gov (5.57/Ultrix3.0-C) id AA08572; Tue, 23 Apr 96 18:20:57 GMT Message-Id: <9604231820.AA08572@fslg8.fsl.noaa.gov> Received: by emu.fsl.noaa.gov (1.40.112.3/16.2) id AA197433784; Tue, 23 Apr 1996 12:23:04 -0600 Date: Tue, 23 Apr 1996 12:23:04 -0600 From: Sean Kelly To: kuku@gilberto.physik.rwth-aachen.de Cc: freebsd-questions@freefall.freebsd.org In-Reply-To: <199604231611.SAA29904@gilberto.physik.rwth-aachen.de> (kuku@gilberto.physik.rwth-aachen.de) Subject: Re: TCP/IP net printers Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >>>>> "Christoph" == "Christoph P Kukulies" writes: Christoph> I could connect to this printer using smbprint (samba) Christoph> but the question came up in me "How does FreeBSD cope Christoph> with these TCP/IP printservers"? Some print servers which can masquerade as LPD should work directly. Just set up your /etc/printcap with a remote printer entry. The printer itself should queue and spool incoming jobs. Yours sounds like it isn't one of those, given that it's listening on port 10001, which certainly isn't LPD. In that case, it might be the kind where you just open the port, throw data on it, close it, and watch the paper spew out. A quick perl script which does just that suffices as a complete LPD input filter for such a printer. I document both these cases in the FreeBSD handbook, section ``Printing.'' -- Sean Kelly NOAA Forecast Systems Laboratory kelly@fsl.noaa.gov Boulder Colorado USA http://www-sdd.fsl.noaa.gov/~kelly/