Re: Epson backend

Kaz Sasayama (Kaz.Sasayama@hypercore.co.jp)
14 Mar 1999 11:16:35 +0900

>>>>> On Sat, 27 Feb 1999 21:53:42 +0100, Svend Daugaard Pedersen <sdp@vip.cybercity.dk> said:

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?

-- 
"Free software is not for free."
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