From owner-freebsd-questions@FreeBSD.ORG Tue Jun 8 23:00:09 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E6AA16A4CE for ; Tue, 8 Jun 2004 23:00:09 +0000 (GMT) Received: from out012.verizon.net (out012pub.verizon.net [206.46.170.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC7CC43D41 for ; Tue, 8 Jun 2004 23:00:08 +0000 (GMT) (envelope-from leblanc@keyslapper.org) Received: from localhost ([141.154.116.24]) by out012.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040608230007.IACV2198.out012.verizon.net@localhost> for ; Tue, 8 Jun 2004 18:00:07 -0500 Received: from keyslapper.org (localhost [127.0.0.1]) by localhost (8.12.11/8.12.11) with ESMTP id i58N09kW031399 for ; Tue, 8 Jun 2004 19:00:11 -0400 (EDT) (envelope-from leblanc@keyslapper.org) Received: (from leblanc@localhost) by keyslapper.org (8.12.11/8.12.11/Submit) id i58N08cS031398 for freebsd-questions@freebsd.org; Tue, 8 Jun 2004 19:00:08 -0400 (EDT) (envelope-from leblanc) Date: Tue, 8 Jun 2004 19:00:08 -0400 From: Louis LeBlanc To: FreeBSD Questions Message-ID: <20040608230007.GA30655@keyslapper.org> Mail-Followup-To: FreeBSD Questions References: <20040606081634.GA17866@keyslapper.org> <20040607171545.Y92269@wonkity.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20040607171545.Y92269@wonkity.com> User-Agent: Mutt/1.5.6i X-Authentication-Info: Submitted using SMTP AUTH at out012.verizon.net from [141.154.116.24] at Tue, 8 Jun 2004 18:00:07 -0500 Subject: Re: Printing to a network photosmart printer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 23:00:09 -0000 On 06/07/04 05:18 PM, Warren Block sat at the `puter and typed: > On Sun, 6 Jun 2004, Louis LeBlanc wrote: > > > Since I've just gotten hold of a shiny new HP PSC photosmart 2510 > > printer, I'd really like to get some use out of it from my FreeBSD > > system (don't want to waste it on the Windoze box). Does anyone know > > if and how this can be done? > > First, check for information on that printer on > > http://www.linuxprinting.org > > There's no PSC 2510, but there is a PSC 2500, which is probably close > enough. It uses the hpijs driver. > > > BTW, it is network capable, and is plugged directly into the hub, with > > the link indicating 100TX half duplex. > > > > I've tried apsfilter, and a good many of the ghostscript drivers, but > > no good has come of it so far. > > See /usr/ports/print/hpijs. This certainly claims to work. I'm not understanding something though. I'm trying to set it up through /etc/printcap as described, but I still get the same problem after restarting lpd. I've downloaded the ppd, done the edits as recommended, and the /etc/printcap entry is as follows: lp|HP PSC 2510:\ :lp=/dev/null:\ :rm=printer:\ :if=/usr/local/bin/foomatic-rip:\ :af=/usr/local/etc/cups/ppd/HP-PSC_2500-hpijs.ppd:\ :sd=/var/spool/lpd/lp:\ :mx#0\ :sh: Here's where I'm not sure: The command I added to the ppd file is: *FoomaticRIPPostPipe: "| rlpr -Plp@printer" Now, I changed this under the assumption that the queue on the printer is named lp. The machine is reachable (and pingable) at the dns name "printer" so I'm sure that part is correct. The thing is, after I start up lpd, I check the status: # lpc status lp lp: queuing is enabled printing is enabled no entries in spool area printer idle Which is encouraging. Problem is, once I try to send something to the printer: $ lpr -Plp flags.txt And check the status, I get: # lpc status lp lp: queuing is enabled printing is enabled 1 entry in spool area waiting for 10.8.20.10 to come up Looks like it's just not able to find it. Eventually, the IP is replaced with the machine's name (printer). The problem is, I don't know if the queue is really named lp. There's no documentation on it, and no mention in the thick book that came with it. Of course, it is probably worth mentioning that this appears to be closer than I had gotten in the past (at least it's waiting :). Can anyone give some pointers? Lou -- Louis LeBlanc leblanc@keyslapper.org Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ What no spouse of a writer can ever understand is that a writer is working when he's staring out the window.