From owner-freebsd-ports@FreeBSD.ORG Wed Feb 27 11:57:00 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C508E2CE for ; Wed, 27 Feb 2013 11:57:00 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 66125AD9 for ; Wed, 27 Feb 2013 11:56:59 +0000 (UTC) Received: from [89.204.139.187] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1UAfcw-0004Ex-Sp for freebsd-ports@freebsd.org; Wed, 27 Feb 2013 12:56:51 +0100 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id r1RBumJN001885 for ; Wed, 27 Feb 2013 12:56:48 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id r1RBulLk001884 for freebsd-ports@freebsd.org; Wed, 27 Feb 2013 12:56:47 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Wed, 27 Feb 2013 12:56:47 +0100 From: Matthias Apitz To: freebsd-ports@freebsd.org Subject: Re: FreeBSD port for redirecting printer Message-ID: <20130227115646.GA1821@tiny.Sisis.de> References: <20130226180645.GA1161@tiny.Sisis.de> <20130226183646.GA2351@tiny.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20130226183646.GA2351@tiny.Sisis.de> X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.139.187 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matthias Apitz List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2013 11:57:00 -0000 El día Tuesday, February 26, 2013 a las 07:36:46PM +0100, Matthias Apitz escribió: > > > Install CUPS (from our ports), catch the incoming data on 9100 with > > > ncat(1) (from ports) and pipe the data to a "lpr -P.... -o raw" command (of CUPS) > > No not CUPS. Not needed (i just want to sent it to printer). And avoided > > at all cost. > > But for this, CUPS is your best choice. Re/ CUPS and lpd(8), I only want to mention that in real world live I'm the technical lead of a software company and we have around 150 big libraries (of Universities etc.) which run our solutions on Linux or Solaris SPARC; they all use a precompiled CUPS and configure all their printers in the network with CUPS (browser admin); I will not imagine what would happen for us on service hotline, if they would all use something different and asking "why the hell the print is not coming out"; another issue, how do you print an UTF-8 encoded text file, containing for example Hebrew and Greek? With CUPS' lpr(1) you just say: $ lpr -Pfoo myfile.txt and all is done on the fly, assuming the printer "foo" understands Postscript. matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: guru@unixarea.de | - Never being an iSlave WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF in E-mail phone: +49-170-4527211 | - Respect for open standards