Printing to a network photosmart printer

Warren Block wblock at wonkity.com
Tue Jun 8 16:46:38 PDT 2004


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 at 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


More information about the freebsd-questions mailing list