Re: Epson backend

Mentore #cat# Siesto (s135989@studenti.ing.unipi.it)
Tue, 16 Mar 1999 16:18:57 +0100 (CET)

On 14 Mar 1999, Kaz Sasayama wrote:

+ Svend> A little addition around line 750 had to be made to make the
+ Svend> backend recognize the Perfection scanner.
+
+ SDP> The lines
+
+ SDP> if (buf[0] != TYPE_PROCESSOR
+ SDP> || strncmp (buf + 8, "EPSON", 5) != 0
+ SDP> || (strncmp (buf + 16, "SCANNER ", 8) != 0
+ SDP> && strncmp (buf + 14, "SCANNER ", 8) != 0))
+
+ SDP> are changed to
+
+ SDP> if( (buf[0] != TYPE_PROCESSOR)
+ SDP> || strncmp(buf+8,"EPSON",5)
+ SDP> || (strncmp(buf+16,"SCANNER ",8)
+ SDP> && strncmp(buf+14,"SCANNER ",8)
+ SDP> && strncmp(buf+16,"Perfection",10)
+ SDP> )
+ SDP> )
+
+Is it OK to drop the tests for model names instead? Does
+anyone know a non-scanner processor device from Epson?

AFAIK, Epson doesn't produce other image retrieval systems other than
scanners. But, I think that they *could*, in future, produce things such
as digital cameras, so that IMHO the test sdhould remain... BTW, this
could be one of the reasons why the GT-300 is not correctly detected.

Mentore

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com