From owner-freebsd-questions@FreeBSD.ORG Tue Jun 8 23:46:38 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 BD9F516A4CE for ; Tue, 8 Jun 2004 23:46:38 +0000 (GMT) Received: from wonkity.com (wonkity.com [65.173.111.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66C5443D49 for ; Tue, 8 Jun 2004 23:46:38 +0000 (GMT) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.12.11/8.12.11) with ESMTP id i58Nka78095592; Tue, 8 Jun 2004 17:46:37 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.12.11/8.12.11/Submit) with ESMTP id i58NkaaE095589; Tue, 8 Jun 2004 17:46:36 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 8 Jun 2004 17:46:36 -0600 (MDT) From: Warren Block To: Louis LeBlanc In-Reply-To: <20040608230007.GA30655@keyslapper.org> Message-ID: <20040608174149.J95310@wonkity.com> References: <20040606081634.GA17866@keyslapper.org> <20040607171545.Y92269@wonkity.com> <20040608230007.GA30655@keyslapper.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; FORMAT=flowed Content-ID: <20040608174159.Q95310@wonkity.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.2.2 (wonkity.com [127.0.0.1]); Tue, 08 Jun 2004 17:46:37 -0600 (MDT) cc: FreeBSD Questions Subject: Re: Printing to a network photosmart printer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 23:46:38 -0000 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.) -Warren Block * Rapid City, South Dakota USA