Re: sane-0.56 and hp

David Mosberger-Tang (
Fri, 9 May 1997 07:39:00 -0700

>>>>> On Fri, 9 May 1997 08:23:11 -0600, "Mathias Weigt (Stud. 94)" <> said:

Mathias> I had a similar problem when installing a HP Scanjet 4P in
Mathias> a Linux environment. My solution was very similar but
Mathias> brutal. As you can see HP scanners use Type Processor (I
Mathias> think this 0x3).

I fixed this a while ago:

/* are we really dealing with a scanner by HP? */
hp_scanner = ((result[0] == 0x03 || result[0] == 0x06)
&& strncmp (result + 8, "HP", 2) == 0);

If, for some reason, this doesn't do the trick, let me know.


Source code, list archive, and docs:
To unsubscribe: mail -s unsubscribe