Re: Epson GT-5500

Kaz Sasayama (Kaz.Sasayama@hypercore.co.jp)
23 Feb 1998 10:37:42 +0900

Really? It is an unexpected response!

>>>>> On Mon, 16 Feb 1998 21:39:01 +0100, Matthias Trute <mtrute@r-w.de> said:

MT> I have a GT-8000 with Adaptec 2940 and it does *not*
MT> work (but find-scanner finds it). It starts with the
MT> Inquiry ("EPSON SC", followed by "ANNNER GT 8000")
MT> and does not end with setting the parameters. I hacked a
MT> little, but did not succeded. Hopefully someone can do
MT> this job, it would be very nice.

If it is the case, change the code in epson.c:

if (buf[0] != TYPE_PROCESSOR
|| strncmp (buf + 8, "EPSON", 5) != 0
|| strncmp (buf + 16, "SCANNER ", 8) != 0)

to

if (buf[0] != TYPE_PROCESSOR
|| strncmp (buf + 8, "EPSON", 5) != 0
|| (strncmp (buf + 16, "SCANNER ", 8) != 0
&& strncmp (buf + 14, "SCANNER ", 8) != 0))

and it should be OK.

-- 
Kaz Sasayama <Kaz.Sasayama@hypercore.co.jp>
Hypercore Software Design, Ltd. <URL:http://www.hypercore.co.jp/>

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