From owner-freebsd-questions@FreeBSD.ORG Thu Jun 11 09:01:07 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02F90106564A for ; Thu, 11 Jun 2009 09:01:07 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (unknown [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id D1E6F8FC16 for ; Thu, 11 Jun 2009 09:01:06 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id n5B914qL070803 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 11 Jun 2009 02:01:04 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id n5B914C8070802; Thu, 11 Jun 2009 02:01:04 -0700 (PDT) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA28854; Thu, 11 Jun 09 01:50:23 PDT Date: Thu, 11 Jun 2009 01:49:09 -0700 From: perryh@pluto.rain.com To: dc@dcoder.net Message-Id: <4a30c505.FiMIBux9WA4OPHOh%perryh@pluto.rain.com> References: <20090611040100.GC22083@mail2.dcoder.net> In-Reply-To: <20090611040100.GC22083@mail2.dcoder.net> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: need network printer printcap example 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, 11 Jun 2009 09:01:07 -0000 dacoder wrote: > has anybody got an example of a printcap file w/ an entry > for a standalone network printer? This is for a printer that understands lpd protocol natively, and it presumes that you will send it only languages that it understands natively. (This one happens to be smart enough to handle -- at least -- both plain text and PostScript; if you want to "lpr textfile" to a PostScript-only printer you'll need some filters.) lp|Samsung ML-2571N PostScript network printer:\ :sh:\ :rm=ml2571n:sd=/var/spool/output/ml2571n:lf=/var/log/lpd-errs: You also need to map the name to an IP address in /etc/hosts, something like this 192.168.200.201 ml2571n or in DNS.