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

74 wiersze
3.5 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="Sat Aug 14 13:24:46 1999 PDT" -->
<!-- sent="Sat, 14 Aug 1999 20:06:57 +0200" -->
<!-- name="Andreas Beck" -->
<!-- email="becka@rz.uni-duesseldorf.de" -->
<!-- subject="Re: Starting a discussion about SANE and TWAIN..." -->
<!-- id="" -->
<!-- inreplyto="37B54F21.4E3D587B@wolfsburg.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>Sat, 14 Aug 1999 20:06:57 +0200</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#149">[ date ]</a><a href="index.html#149">[ thread ]</a><a href="subject.html#149">[ subject ]</a><a href="author.html#149">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0150.html">Stephen Williams: "Re: Starting a discussion about SANE and TWAIN..."</a>
<li> <b>Previous message:</b> <a href="0148.html">Andreas Beck: "Re: Starting a discussion about SANE and TWAIN..."</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
<i>&gt; &gt; &gt; -&gt; TWAIN to SANE-FRONTEND-wrapper</i><br>
<i>&gt; &gt; That is the hard part, especially, if we try to:</i><br>
<i>&gt; &gt; &gt; The wrapper and the standard has to be compatible to</i><br>
<i>&gt; &gt; &gt; all operating systems.</i><br>
<i>&gt; &gt; On Unix I would use some form of IPC. Probably pipes. How is it handled on</i><br>
<i>&gt; &gt; Win and MacOS now ?</i><br>
<i>&gt; &gt; I think pipes are probably best for starters, as they enforce a streamed</i><br>
<i>&gt; &gt; protocol, that can definitely be used on any platform of interest, at worst</i><br>
<i>&gt; &gt; using a TCP/IP connection to localhost, which every platform that is in use</i><br>
<i>&gt; &gt; nowadays should support.</i><br>
<p>
<i>&gt; I think we should have a look how TWAIN does this on windows/mac.</i><br>
<p>
from DLLs using a tokenized, single-entry-point system.<br>
<p>
This is conceptually similar to using a streamed interface and could<br>
probably be easily transformed into that.<br>
<p>
<i>&gt; Of course using pipes is the simplest way to do it, but as far as I know there</i><br>
<i>&gt; are no pipes on Windows and Mac.</i><br>
<p>
We are talking about interfacing SANE frontends from a TWAIN layer. That is,<br>
we are talking about an environment, where SANE frontends can run. That<br>
assumes we have something like Cygwin or similar, which gives us Posixish<br>
features. For a fully native solution, other communication paths are<br>
possible, as streamed transfers can take place on about any medium.<br>
<p>
<i>&gt; The wrapper should not do a lot. May be we can include it into the frontends</i><br>
<i>&gt; like a sanei_* routine, so the frontend itself gets a TWAIN interface.</i><br>
<p>
Yes. <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="0150.html">Stephen Williams: "Re: Starting a discussion about SANE and TWAIN..."</a>
<li> <b>Previous message:</b> <a href="0148.html">Andreas Beck: "Re: Starting a discussion about SANE and TWAIN..."</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>