From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 22:52:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C869510656A7; Fri, 17 Oct 2008 22:52:59 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id E56028FC15; Fri, 17 Oct 2008 22:52:58 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2) with ESMTP id m9HMqn6h013184; Sat, 18 Oct 2008 00:52:49 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2/Submit) with ESMTP id m9HMqnnt013181; Sat, 18 Oct 2008 00:52:49 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 18 Oct 2008 00:52:49 +0200 (CEST) From: Wojciech Puchar To: Jeremy Chadwick In-Reply-To: <20081016212000.GA3960@icarus.home.lan> Message-ID: <20081018005232.J13134@wojtek.tensor.gdynia.pl> References: <101620082036.391.48F7A5DA0009DFCD0000018722120207849C05020E089F060E@comcast.net> <20081016212000.GA3960@icarus.home.lan> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org, ajphanks@comcast.net Subject: Re: Printing to a Lanier LD160c does not work 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: Fri, 17 Oct 2008 22:52:59 -0000 > If this printer is hooked up on the network (e.g. via Ethernet), I > believe you need to set the lp variable to the hostname or IP address of > the printer, e.g.: > > admincolor|hp|laserjet|LANIER LD160c RPCS:\ > :lp=192.168.1.100\ > :sd=/var/spool/output/admincolor:rm=admincolor:\ > :lf=/var/log/lpd-errs: > > I think this also makes the assumption that the printer knows how to > speak the LPR protocol. If it listens on a custom port, you can use > portnumber@ipaddress instead. See the printcap(5) man page, I guess. he said that lpd queue gets drained. so printer DO accept the data.