sane-project-website/old-archive/1999-08/0130.html

82 wiersze
3.8 KiB
HTML

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Fri Aug 13 13:30:35 1999 PDT" -->
<!-- sent="Fri, 13 Aug 1999 22:37:09 +0200" -->
<!-- name="Andreas Beck" -->
<!-- email="becka@rz.uni-duesseldorf.de" -->
<!-- subject="Re: Starting a discussion about SANE and TWAIN..." -->
<!-- id="" -->
<!-- inreplyto="Pine.LNX.4.10.9908131740590.13274-100000@chef.ecs.soton.ac.uk" -->
<title>sane-devel: Re: Starting a discussion about SANE and TWAIN...</title>
<h1>Re: Starting a discussion about SANE and TWAIN...</h1>
<b>Andreas Beck</b> (<a href="mailto:becka@rz.uni-duesseldorf.de"><i>becka@rz.uni-duesseldorf.de</i></a>)<br>
<i>Fri, 13 Aug 1999 22:37:09 +0200</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#130">[ date ]</a><a href="index.html#130">[ thread ]</a><a href="subject.html#130">[ subject ]</a><a href="author.html#130">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0131.html">Pamela Akazawa: "Re: SV: modprobe"</a>
<li> <b>Previous message:</b> <a href="0129.html">Nick Lamb: "Re: [net] connect_dev: major version mismatch: got 0, expected 1"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hi Nick !<br>
<p>
You seem to have a sufficient insight of both TWAIN and SANE.<br>
<p>
You don't happen to be interested to code something ? :-)<br>
<p>
<i>&gt; &gt; &gt; If I read correctly Andy stated that it is possible to have </i><br>
<i>&gt; &gt; &gt; something like a TWAIN backend for SANE. </i><br>
<i>&gt; &gt; No. To my knowledge, this is not possible.</i><br>
<p>
<i>&gt; This IS possible, but only for TWAIN sources which comply with some of</i><br>
<i>&gt; the most recent additions to the TWAIN standards (in relative terms,</i><br>
<i>&gt; the original TWAIN is now quite old). In particular when I asked about</i><br>
<i>&gt; this I was told that few if any mass-market scanners have the necessary</i><br>
<i>&gt; TWAIN features to do SANE-on-TWAIN. Such "high-end" features are</i><br>
<i>&gt; unfortunately optional :(</i><br>
<p>
Uh - yes. I should have stated that more clearly. The point you make came up<br>
on the ML here in the past. However as you say, it's probably not worth the<br>
bother to implement it, as the number of working sources for the system<br>
would be very limited.<br>
<p>
<i>&gt; However, the other way around TWAIN-on-SANE would be comparatively easy</i><br>
<i>&gt; to do, and would work with every existing SANE backend, though not</i><br>
<i>&gt; necessarily to maximum advantage. </i><br>
<p>
Yes. What is your opinion about that ?<br>
<p>
I would suggest to add an exported API to the existing SANE frontends, like<br>
a common commandline option that will make it connect to some pipe or<br>
something. That allows to use any backend as the hardware driver, and any<br>
frontend (the exports the "remote control" interface) as the GUI driver.<br>
<p>
The TWAIN library itself could then work similar to what the GIMP does.<br>
It would look up the command to run in its configuration files and then<br>
call e.g. "xscanimage -twain" (like gimp does with -g) and talk to it.<br>
<p>
The other, less flexible but somewhat simpler possibility would be to <br>
make a single custom TWAIN frontend.<br>
<p>
CU, Andy<br>
<p>
<pre>
--
= Andreas Beck | Email : &lt;<a href="mailto:andreas.beck@ggi-project.org">andreas.beck@ggi-project.org</a>&gt; =
<p>
<pre>
--
Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a>
To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0131.html">Pamela Akazawa: "Re: SV: modprobe"</a>
<li> <b>Previous message:</b> <a href="0129.html">Nick Lamb: "Re: [net] connect_dev: major version mismatch: got 0, expected 1"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>