sane-project-website/old-archive/1998-05/0231.html

76 wiersze
3.3 KiB
HTML

<!-- received="Fri May 22 15:33:50 1998 PDT" -->
<!-- sent="Fri, 22 May 1998 21:04:30 +0200 (MET DST)" -->
<!-- name="becka@rz.uni-duesseldorf.de" -->
<!-- email="becka@rz.uni-duesseldorf.de" -->
<!-- subject="Re: NT frontend" -->
<!-- id="m0ycx7G-0000WyC@charon.beck-sw.de" -->
<!-- inreplyto="006501bd8587$6ecdc460$499672cf@ester.sunshinecomputing.com" -->
<title>sane-devel: Re: NT frontend</title>
<h1>Re: NT frontend</h1>
<a href="mailto:becka@rz.uni-duesseldorf.de"><i>becka@rz.uni-duesseldorf.de</i></a><br>
<i>Fri, 22 May 1998 21:04:30 +0200 (MET DST)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#231">[ date ]</a><a href="index.html#231">[ thread ]</a><a href="subject.html#231">[ subject ]</a><a href="author.html#231">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0232.html">Rob Fargher: "Re: Non Disclosure Agreements"</a>
<li> <b>Previous message:</b> <a href="0230.html">becka@rz.uni-duesseldorf.de: "Re: NT frontend"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0241.html">Firikis Milon: "Re: NT frontend"</a>
<li> <b>Reply:</b> <a href="0241.html">Firikis Milon: "Re: NT frontend"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hi !<br>
<p>
<i>&gt; Well, if someone will give me the network protocol specification SANE uses</i><br>
<i>&gt; to talk, writing a TWAIN wrapper to use with a SANE networked scanner will</i><br>
<i>&gt; suddenly become a higher priority project on my list. Until then it'll will</i><br>
<i>&gt; have to wait until I feel like reverse engineer the protocol. So far I</i><br>
<i>&gt; haven't been able to find it in the documentation for SANE anywhere.</i><br>
<p>
?? It is in the sane package that can be found on <br>
<a href="http://www.mostang.com/sane">http://www.mostang.com/sane</a>.<br>
<p>
I have checked V 0.72, and it has a subdirectory doc, that contains net.tex<br>
which describes the RPCs that make up the net protocol.<br>
<p>
For an actual implementation reference, see :<br>
<p>
sanei/sanei_codec_ascii.c<br>
sanei/sanei_codec_bin.c<br>
sanei/sanei_net.c<br>
sanei/sanei_wire.c<br>
backend/net.c<br>
frontend/saned.c<br>
<p>
This should provide you with quite enough reference and a bunch of convenience<br>
functions to access the sane net protocol.<br>
<p>
Actually what you need to do, is to rewrite backend/net.c in a way that<br>
it exports a TWAIN interface, or write a SANE-&gt;TWAIN bridge interface<br>
that is simply linked to net.c.<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="0232.html">Rob Fargher: "Re: Non Disclosure Agreements"</a>
<li> <b>Previous message:</b> <a href="0230.html">becka@rz.uni-duesseldorf.de: "Re: NT frontend"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0241.html">Firikis Milon: "Re: NT frontend"</a>
<li> <b>Reply:</b> <a href="0241.html">Firikis Milon: "Re: NT frontend"</a>
<!-- reply="end" -->
</ul>