Date: Tue, 8 Jun 2004 17:46:36 -0600 (MDT) From: Warren Block <wblock@wonkity.com> To: Louis LeBlanc <freebsd@keyslapper.org> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Printing to a network photosmart printer Message-ID: <20040608174149.J95310@wonkity.com> In-Reply-To: <20040608230007.GA30655@keyslapper.org> References: <20040606081634.GA17866@keyslapper.org> <20040607171545.Y92269@wonkity.com> <20040608230007.GA30655@keyslapper.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040608174149.J95310>
