kopia lustrzana https://gitlab.com/sane-project/website
90 wiersze
4.2 KiB
HTML
90 wiersze
4.2 KiB
HTML
<!-- received="Fri Aug 13 07:51:22 1999 PDT" -->
|
||
<!-- sent="Fri, 13 Aug 1999 16:39:04 +0200" -->
|
||
<!-- name="Andreas Beck" -->
|
||
<!-- email="becka@rz.uni-duesseldorf.de" -->
|
||
<!-- subject="Re: Starting a discussion about SANE and TWAIN..." -->
|
||
<!-- id="" -->
|
||
<!-- inreplyto="17FA0B544B7@janeway.physik.uni-dortmund.de" -->
|
||
<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 16:39:04 +0200</i>
|
||
<p>
|
||
<ul>
|
||
<li> <b>Messages sorted by:</b> <a href="date.html#126">[ date ]</a><a href="index.html#126">[ thread ]</a><a href="subject.html#126">[ subject ]</a><a href="author.html#126">[ author ]</a>
|
||
<!-- next="start" -->
|
||
<li> <b>Next message:</b> <a href="0127.html">Nick Lamb: "Re: Starting a discussion about SANE and TWAIN..."</a>
|
||
<li> <b>Previous message:</b> <a href="0125.html">Andreas Beck: "Re: Starting a discussion about SANE and TWAIN..."</a>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
</ul>
|
||
<!-- body="start" -->
|
||
<i>> If I read correctly Andy stated that it is possible to have </i><br>
|
||
<i>> something like a TWAIN backend for SANE. </i><br>
|
||
<p>
|
||
No. To my knowledge, this is not possible.<br>
|
||
<p>
|
||
<i>> The other way round, i.e. a TWAIN frontend for SANE is trivial as </i><br>
|
||
<i>> I understand. Why do not implement this as a first step?</i><br>
|
||
<p>
|
||
Yes. That's what I'm asking for. But it needs someone with good knowledge<br>
|
||
about the TWAIN API. I volunteer to help that person with all questions of<br>
|
||
SANE interfacing. To do it "right", we will need to define a "remote<br>
|
||
control API" for each architecture we want to run on, which will allow <br>
|
||
the TWAIN layer to interface with an arbitrary SANE frontend.<br>
|
||
<p>
|
||
<i>> If the aim is a standard cross-(all)-platform solution, introduce </i><br>
|
||
<i>> SANE softly and stable. There is an exploding market with NT-networks </i><br>
|
||
<i>> using Linux servers, which will readily accept this. There even a Win </i><br>
|
||
<i>> only TWAIN frontend would win.</i><br>
|
||
<p>
|
||
That is probably what one should do for the windows operating system:<br>
|
||
<p>
|
||
Write a generic SANE frontend, that exports a TWAIN interface. As SANE <br>
|
||
seems to compile with cywin, this gives instant access to all networked<br>
|
||
SANE scanners using the net backend. Thus it for now covers the scope<br>
|
||
of WinSANE, which hasn't evolved a lot recently.<br>
|
||
<p>
|
||
When we get around to including the Windows native HAL into the SANE HAL,<br>
|
||
we can as well use all SANE drivers on Windows from standard TWAIN<br>
|
||
applications.<br>
|
||
<p>
|
||
Once we are there. It is possible for manufacturers to write their drivers<br>
|
||
in SANE style, with a separated front- and backend. They will run on<br>
|
||
windows, which is their primary concern. But the backend should then <br>
|
||
as well compile on all other SANE platforms, so supporting them is easy.<br>
|
||
<p>
|
||
For having TWAIN style access to scanners on Unix (thus allowing application<br>
|
||
programmers to port their programs more easily), we'd need the<br>
|
||
abovementioned "remote control" for SANE frontends.<br>
|
||
<p>
|
||
Both projects are pretty separate and can be done in parallel. Again I<br>
|
||
volunteer to help anyone with the SANE issues, but we'll need someone to<br>
|
||
help with the TWAIN issues as well.<br>
|
||
<p>
|
||
Maybe it would be useful to have a small snippet of code that shows how a<br>
|
||
typical Win application calls up a TWAIN source.<br>
|
||
<p>
|
||
A complete API listing would as well be useful.<br>
|
||
<p>
|
||
CU, ANdy<br>
|
||
<p>
|
||
<pre>
|
||
--
|
||
= Andreas Beck | Email : <<a href="mailto:andreas.beck@ggi-project.org">andreas.beck@ggi-project.org</a>> =
|
||
<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="0127.html">Nick Lamb: "Re: Starting a discussion about SANE and TWAIN..."</a>
|
||
<li> <b>Previous message:</b> <a href="0125.html">Andreas Beck: "Re: Starting a discussion about SANE and TWAIN..."</a>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
</ul>
|