sane-project-website/old-archive/1999-03/0159.html

69 wiersze
2.8 KiB
HTML
Czysty Wina Historia

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Tue Mar 16 07:17:11 1999 PST" -->
<!-- sent="Tue, 16 Mar 1999 16:18:57 +0100 (CET)" -->
<!-- name="Mentore #cat# Siesto" -->
<!-- email="s135989@studenti.ing.unipi.it" -->
<!-- subject="Re: Epson backend" -->
<!-- id="" -->
<!-- inreplyto="2m1ziszugs.fsf@rilule.pn.hypercore.co.jp" -->
<title>sane-devel: Re: Epson backend</title>
<h1>Re: Epson backend</h1>
<b>Mentore #cat# Siesto</b> (<a href="mailto:s135989@studenti.ing.unipi.it"><i>s135989@studenti.ing.unipi.it</i></a>)<br>
<i>Tue, 16 Mar 1999 16:18:57 +0100 (CET)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#159">[ date ]</a><a href="index.html#159">[ thread ]</a><a href="subject.html#159">[ subject ]</a><a href="author.html#159">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0160.html">Ewald R. de Wit: "Re: HP Photosmart R032 problem"</a>
<li> <b>Previous message:</b> <a href="0158.html">john allen pitney: "HP Photosmart R032 problem"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
On 14 Mar 1999, Kaz Sasayama wrote:<br>
<p>
+ Svend&gt; A little addition around line 750 had to be made to make the<br>
+ Svend&gt; backend recognize the Perfection scanner.<br>
+<br>
+ SDP&gt; The lines<br>
+<br>
+ SDP&gt; if (buf[0] != TYPE_PROCESSOR<br>
+ SDP&gt; || strncmp (buf + 8, "EPSON", 5) != 0<br>
+ SDP&gt; || (strncmp (buf + 16, "SCANNER ", 8) != 0<br>
+ SDP&gt; &amp;&amp; strncmp (buf + 14, "SCANNER ", 8) != 0))<br>
+<br>
+ SDP&gt; are changed to<br>
+<br>
+ SDP&gt; if( (buf[0] != TYPE_PROCESSOR) <br>
+ SDP&gt; || strncmp(buf+8,"EPSON",5) <br>
+ SDP&gt; || (strncmp(buf+16,"SCANNER ",8)<br>
+ SDP&gt; &amp;&amp; strncmp(buf+14,"SCANNER ",8) <br>
+ SDP&gt; &amp;&amp; strncmp(buf+16,"Perfection",10)<br>
+ SDP&gt; )<br>
+ SDP&gt; )<br>
+<br>
+Is it OK to drop the tests for model names instead? Does<br>
+anyone know a non-scanner processor device from Epson?<br>
<p>
AFAIK, Epson doesn't produce other image retrieval systems other than<br>
scanners. But, I think that they *could*, in future, produce things such<br>
as digital cameras, so that IMHO the test sdhould remain... BTW, this<br>
could be one of the reasons why the GT-300 is not correctly detected.<br>
<p>
Mentore<br>
<p>
<p>
<pre>
--
Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a>
To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0160.html">Ewald R. de Wit: "Re: HP Photosmart R032 problem"</a>
<li> <b>Previous message:</b> <a href="0158.html">john allen pitney: "HP Photosmart R032 problem"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>