Re: SANE backend using TWAIN and WINE?

Henry Miller (hank@black-hole.com)
Fri, 20 Aug 1999 22:24:16 -0500 (CDT)

On Fri, 20 Aug 1999, Richard Tobin wrote:

> Excuse me if this is a naive question!
>
> Would it be possible to write a fairly simple MS-Windows program that
> provided access to a scanner using TWAIN, accepting commands and
> returning data through a pipe or socket, and use WINE to run it from
> unix? This would provide a SANE backend for any scanner with a TWAIN
> interface.

Maybe, sometimes. Twain has a optional protocol that can be used to do
what you suggest. Problem is it is optional, and wasn't even in the spec
until not too long ago. Hence most scanners don't support it, and less of
the low end cheep ones. (read the very expensive ones are likely to
support it, the ones you can accually walk into a store and buy probably
don't - but all generalzations are false)

Assuming the optional interface was implimented, the rest is a matter of
programing. I don't think anyone has done enough work to make that
possibal, but someone did suggest they were working one winSane, which
would probably containe many of the parts. (not the part of turning twain
into Sane, but the rest perhaps if the netbackend worked)

--
      http://www.black-hole.com/users/henrymiller/ 
      hank@black-hole.com

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