Re: TWAIN on Unix ?

From: Oliver Rauch (oliver.rauch@Wolfsburg.DE)
Date: Thu Mar 16 2000 - 15:02:26 PST

  • Next message: Ray Robinson: "Solaris and Sane fixed"

    Petter Reinholdtsen wrote:

    > I've been watching the unix ODBC drivers currently being developed,
    > and keep woundering if it would be a good idea to adapt the TWAIN API
    > as the high level API for scanners on UNIX.
    >
    > We would only need to implement one TWAIN driver - the SANE driver,
    > and a TWAIN API library to use this.
    >
    > I guess if we write the TWAIN driver using a cross-platform GUI
    > library, we could use the same driver on Unix and Windows - making the
    > SANE devices available on Windows as well. :-)
    >
    > Any ideas? Is there anyone on this list with TWAIN experience? Are
    > there any example programs using the TWAIN API available?
    > --
    >

    Hi Petter,

    we already had that discussion where a chairman of the TWAIN organization
    has been involved.

    The problem is that the Windows TWAIN API depends on the Windows API (IPC).
    The TWAIN org wanted to implement the same API for unix what would be very bad.
    The problem is that on windows the driver is a part of the frontend-process and so all
    events have to be passed through to the backend.

    There already is a second TWAIN interface for the apple mac that is not compatible to
    the windows TWAIN API.

    We suggested to create a unix TWAIN API that is as compatible as possible to the WIN TWAIN
    but with some differences that use the special functions of unix systems.

    I still would like to add a WIN and a UNIX TWAIN API to xsane but in the near future I do not
    have the time to work on it.

    After all: it is not so simple like it looks at first.

    Bye
    Oliver

    --
    Homepage:       http://www.wolfsburg.de/~rauch
    sane-umax:      http://www.wolfsburg.de/~rauch/sane/sane-umax.html
    xsane:          http://www.wolfsburg.de/~rauch/sane/sane-xsane.html
    E-Mail:         mailto:Oliver.Rauch@Wolfsburg.DE
    

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



    This archive was generated by hypermail 2b29 : Thu Mar 16 2000 - 14:59:38 PST