From owner-freebsd-questions@freebsd.org Wed Jun 29 04:52:44 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E9446B8414D for ; Wed, 29 Jun 2016 04:52:44 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 86F942A7A for ; Wed, 29 Jun 2016 04:52:43 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-197-174.dynamic.qsc.de [92.195.197.174]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id A5B113D241 for ; Wed, 29 Jun 2016 06:44:11 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id u5T4iAeR003525 for ; Wed, 29 Jun 2016 06:44:10 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 29 Jun 2016 06:44:10 +0200 From: Polytropon To: "freebsd-questions@FreeBSD.org" Subject: Re: network hook up for Win 10 laptop on Freebsd Message-Id: <20160629064410.dcd5b8ef.freebsd@edvax.de> In-Reply-To: <61537.76.193.17.2.1467174398.squirrel@cosmo.uchicago.edu> References: <5772D3C8.1050902@hdk5.net> <5772EB8A.5090908@hdk5.net> <19599.128.135.52.6.1467150299.squirrel@cosmo.uchicago.edu> <61537.76.193.17.2.1467174398.squirrel@cosmo.uchicago.edu> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2016 04:52:45 -0000 On Tue, 28 Jun 2016 23:26:38 -0500 (CDT), Valeri Galtsev wrote: > > On Tue, June 28, 2016 10:05 pm, Warren Block wrote: > > On Tue, 28 Jun 2016, Valeri Galtsev wrote: > > > >> They didn't change anything. You can create two kind of ports (at least > >> two). Namely: you can create "raw" port, and give there IP address of > >> the > >> printer. This printer has to listen to "jetdirect" port (9100) for this > >> to > >> work. The other way is if printer listens to LPD ("spooler") port (port > >> number 515) (or better: print server, - I usually set up all printer to > >> only accept print jobs from print server - easier to manage especially > >> if > >> something is wrong with some client). In this case, you need to enable > >> two > >> services on Windows side (through "turning on features"): UNIX printing > >> related: "LPD Print Service" and "LPR Port Monitr". This teaches Windows > >> talk UNIX printing language, you then create local port of type LPD (and > >> put remote LPD server's IP there). I found this to be the most robust > >> way > >> of having Windows printing to UNIX print queues. > > > > I've used raw port 9100 printing to HP JetDirects many times. It's nice > > because it has no other dependencies. > > > > I agree if you have one to 5 or so clients. If you have 100+ clients, you > better don't let them print directly to the printer, and instead make them > print through print server. One client acts up (say, hits consistently bug > in postscript implementation of the printer that knocks printer out; and > keeps re-sending print job every time you power cycle printer) - you will > see the world of difference. You can pinpoint what comes from which client > if all goes through print server. UNIX machine as print server will > provide you with much more than brainless embedded system printers have > inside. But for few clients, as you said, the effort is not worth it. There is another advantage, in case it should matter: You can have all your clients submit PS (using a generic Postscript driver) and let the UNIX machine postprocess it into whatever format is needed for the printer. Most normal printers speak PS, PCL and PDF (or at least one of those), but if you're unlucky and your printer doesn't, and maybe even worse, MICROS~1 decided your printer became "too old" and there is no driver support anymore, this might be an extendable solution: You got a new printer? No client-side change is needed, just a different postprocessing filter on the server, which is O(1) instead of O(n). ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...