From owner-freebsd-questions@FreeBSD.ORG Wed Jun 9 04:15:16 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 AF8A016A4CE for ; Wed, 9 Jun 2004 04:15:16 +0000 (GMT) Received: from out003.verizon.net (out003pub.verizon.net [206.46.170.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F71D43D46 for ; Wed, 9 Jun 2004 04:15:16 +0000 (GMT) (envelope-from leblanc@keyslapper.org) Received: from localhost ([141.154.116.24]) by out003.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040609041515.XWE6671.out003.verizon.net@localhost> for ; Tue, 8 Jun 2004 23:15:15 -0500 Received: from keyslapper.org (localhost [127.0.0.1]) by localhost (8.12.11/8.12.11) with ESMTP id i594FJdZ039382 for ; Wed, 9 Jun 2004 00:15:20 -0400 (EDT) (envelope-from leblanc@keyslapper.org) Received: (from leblanc@localhost) by keyslapper.org (8.12.11/8.12.11/Submit) id i594FJAn039381 for freebsd-questions@freebsd.org; Wed, 9 Jun 2004 00:15:19 -0400 (EDT) (envelope-from leblanc) Date: Wed, 9 Jun 2004 00:15:18 -0400 From: Louis LeBlanc To: FreeBSD Questions Message-ID: <20040609041518.GA33415@keyslapper.org> Mail-Followup-To: FreeBSD Questions References: <20040606081634.GA17866@keyslapper.org> <20040607171545.Y92269@wonkity.com> <20040608230007.GA30655@keyslapper.org> <20040608174149.J95310@wonkity.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20040608174149.J95310@wonkity.com> User-Agent: Mutt/1.5.6i X-Authentication-Info: Submitted using SMTP AUTH at out003.verizon.net from [141.154.116.24] at Tue, 8 Jun 2004 23:15:15 -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: Wed, 09 Jun 2004 04:15:16 -0000 On 06/08/04 05:46 PM, Warren Block sat at the `puter and typed: > On Tue, 8 Jun 2004, Louis LeBlanc wrote: > > >> 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: > > > > > > 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. > > HP JetDirects use "raw" for the queue name. Here is your printcap with > some suggested changes: > > > lp|HP PSC 2510:\ > :lp=:\ > > :rm=printer:\ > :rp=raw:\ > > :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: > > (Your if= and af= might be wrong; don't know.) Thank you *very* much for your help Warren. It turned out something was still wrong. I tried the CUPS install, and apparently found something right, because I managed to get a test page printed from the web interface to CUPS. Looked pretty darn good actually. The printcap file was automatically generated from the web management input (http://localhost:631) which was pretty easy. The only thing in the printcap other than comments was lp|lp:rm=keyslapper.org:rp=lp: Once I got cups-lpr installed, it works fine. Now the tricky part is remembering the path to the cups version. I can live with that. Thanks again. Lou -- Louis LeBlanc leblanc@keyslapper.org Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ Horner's Five Thumb Postulate: Experience varies directly with equipment ruined.