sane-project-website/old-archive/1997-02/0132.html

55 wiersze
2.6 KiB
HTML

<!-- received="Fri May 9 08:03:40 1997 MST" -->
<!-- sent="Fri, 9 May 1997 07:39:00 -0700" -->
<!-- name="David Mosberger-Tang" -->
<!-- email="davidm@azstarnet.com" -->
<!-- subject="Re: sane-0.56 and hp" -->
<!-- id="199705091439.HAA12423@panda.mosberger" -->
<!-- inreplyto="199705090250.TAA07530@panda.mosberger" -->
<title>sane-devel: Re: sane-0.56 and hp</title>
<h1>Re: sane-0.56 and hp</h1>
<b>David Mosberger-Tang</b> (<a href="mailto:davidm@azstarnet.com"><i>davidm@azstarnet.com</i></a>)<br>
<i>Fri, 9 May 1997 07:39:00 -0700</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#132">[ date ]</a><a href="index.html#132">[ thread ]</a><a href="subject.html#132">[ subject ]</a><a href="author.html#132">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0133.html">David Mosberger-Tang: "reviewers wanted"</a>
<li> <b>Previous message:</b> <a href="0131.html">Thomas Blume: "Re: Mustek/Request-sense problems -&gt; Solution?"</a>
<li> <b>In reply to:</b> <a href="0128.html">David Mosberger-Tang: "Re: sane-0.56 and hp"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
<i>&gt;&gt;&gt;&gt;&gt; On Fri, 9 May 1997 08:23:11 -0600, "Mathias Weigt (Stud. 94)" &lt;<a href="mailto:p5iba@medchem2.pharmazie.uni-halle.de">p5iba@medchem2.pharmazie.uni-halle.de</a>&gt; said:</i><br>
<p>
Mathias&gt; I had a similar problem when installing a HP Scanjet 4P in<br>
Mathias&gt; a Linux environment. My solution was very similar but<br>
Mathias&gt; brutal. As you can see HP scanners use Type Processor (I<br>
Mathias&gt; think this 0x3).<br>
<p>
I fixed this a while ago:<br>
<p>
/* are we really dealing with a scanner by HP? */<br>
hp_scanner = ((result[0] == 0x03 || result[0] == 0x06)<br>
&amp;&amp; strncmp (result + 8, "HP", 2) == 0);<br>
<p>
If, for some reason, this doesn't do the trick, let me know.<br>
<p>
--david<br>
<p>
<pre>
--
Source code, list archive, and docs: <a href="http://www.azstarnet.com/~axplinux/sane/">http://www.azstarnet.com/~axplinux/sane/</a>
To unsubscribe: mail -s unsubscribe <a href="mailto:sane-devel-request@listserv.azstarnet.com">sane-devel-request@listserv.azstarnet.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0133.html">David Mosberger-Tang: "reviewers wanted"</a>
<li> <b>Previous message:</b> <a href="0131.html">Thomas Blume: "Re: Mustek/Request-sense problems -&gt; Solution?"</a>
<li> <b>In reply to:</b> <a href="0128.html">David Mosberger-Tang: "Re: sane-0.56 and hp"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>