NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Some progress in support for HP USB printer/scanners



On Sat, Sep 29, 2012 at 09:35:20PM +0530, Mayuresh wrote:
> On Sat, Sep 22, 2012 at 03:36:50PM +0530, Mayuresh wrote:
> > Have always struggled to get HP USB all-in-one printer (F380) on NetBSD,
> > though hplip and sane are known to support it and they work on Linux.
> > 
> > Some of the past mails on this are in this thread:
> > http://mail-index.netbsd.org/netbsd-users/2011/11/20/msg009600.html
> > 
> > Recently I tried it on 6.0 rc1. Do not know whether changes from 5.1 to
> > 6.0 in NetBSD or any developments in hplip have helped, though now the
> > device is getting detected fine (with ugen enabled in kernel, which was
> > tried before also).

Ok, here is the final solution that works pretty well for me:

Removed cups, hplip, foomatic* except for foomatic4-filters. Feel good
that not so many of them are really needed.

The ppd files that did not work despite my model no being mentioned there
were:
/usr/pkg/share/hplip/ppd/HP/hp-deskjet_f300_series.ppd,
/usr/pkg/share/hplip/ppd/HP/hp-deskjet_f300_series-hpijs.ppd,
/usr/pkg/share/foomatic/ppd/HP/HP-DeskJet_F300-hpijs.ppd

So I borrowed a ppd file which worked for me on Linux. On Linux its
location was:
/etc/cups/ppd/HP_Deskjet_F300_series.ppd


Apparently foomatic4-db has more recent files though they are in xml form
and foomatic-ppdfile tools is supposed to convert them to ppd. I couldn't
quite figure that out. So decided to live with above borrowed ppd file.


In summary all I required was foomatic-rip from foomatic4-filters package
and above mentioned ppd file borrowed from Linux package.

Now I can simply redirect foomatic-rip's output to the printer device. I
can even set classical lpd service now, though currently I am not looking
for spooling.


Hope this helps or at least encourages someone trying to set up USB
printers that may not be working easily on NetBSD.

Mayuresh.


Home | Main Index | Thread Index | Old Index