sane-project-website/old-archive/1998-07/0058.html

74 wiersze
3.9 KiB
HTML

<!-- received="Thu Jul 16 08:48:40 1998 PDT" -->
<!-- sent="Thu, 16 Jul 1998 09:48:11 -0600 (MDT)" -->
<!-- name="Andreas Dilger" -->
<!-- email="adilger@enel.ucalgary.ca" -->
<!-- subject="Re: raw parallel device Q" -->
<!-- id="199807161548.JAA01504@munet-d.enel.ucalgary.ca" -->
<!-- inreplyto="35AD6B8F.8EDA27FF@jps.net" -->
<title>sane-devel: Re: raw parallel device Q</title>
<h1>Re: raw parallel device Q</h1>
<b>Andreas Dilger</b> (<a href="mailto:adilger@enel.ucalgary.ca"><i>adilger@enel.ucalgary.ca</i></a>)<br>
<i>Thu, 16 Jul 1998 09:48:11 -0600 (MDT)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#58">[ date ]</a><a href="index.html#58">[ thread ]</a><a href="subject.html#58">[ subject ]</a><a href="author.html#58">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0059.html">Ian Grant: "Re: raw parallel device Q"</a>
<li> <b>Previous message:</b> <a href="0057.html">Didier Carlier: "Re: Need... more... .desc... files"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0059.html">Ian Grant: "Re: raw parallel device Q"</a>
<li> <b>Reply:</b> <a href="0059.html">Ian Grant: "Re: raw parallel device Q"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Chris writes:<br>
<i>&gt; Is it possible to give commands to a parallel device via a socket</i><br>
<i>&gt; connection?</i><br>
<i>&gt; What I was thinking is Linux box has a parallel scanner. I want to make</i><br>
<i>&gt; an IPC style connection to the serial device via a socket, then create a</i><br>
<i>&gt; "virtual" connection to that port on a M$ box that has the correct driver.</i><br>
<i>&gt; Since Win9X doesn't share reliably, we have put all of the shareable</i><br>
<i>&gt; devices on the server.</i><br>
<p>
At first glance, this sounds like it would fall under the same type of<br>
system as having saned on the Win box, and using saned on your Linux box<br>
handle the network protocol. However, it would need the saned on the Win<br>
box to talk to the Windows scanner driver via TWAIN, and TWAIN allows the<br>
scanner driver to have the GUI built into the driver. This would mean you<br>
need to be sitting at the Win box to handle the TWAIN GUI, and at that<br>
point you might as well scan the image under Windows and FTP it over to<br>
your Linux box. If saned on the Win box talked directly to the PPort, you<br>
would be back in the same situation as we are with SANE all over - you<br>
need to get the protocol from the manufacturer.<br>
<p>
However, if the scanner is supported under SANE, it would be possible to<br>
create a SANE backend to run under Windows - in fact many people have<br>
expressed a desire to do this, but the last I recall was that the people<br>
who know SANE and the people who know TWAIN and the people who know the<br>
saned network protocol weren't the same people...<br>
<p>
Cheers, Andreas<br>
<pre>
--
Andreas Dilger University of Calgary \"If a man ate a pound of pasta and
Micronet Research Group \ a pound of antipasto, would they
Dept of Electrical &amp; Computer Engineering \ cancel out, leaving him still
<a href="http://www-mddsp.enel.ucalgary.ca/People/adilger/">http://www-mddsp.enel.ucalgary.ca/People/adilger/</a> hungry?" -- Dogbert
<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="0059.html">Ian Grant: "Re: raw parallel device Q"</a>
<li> <b>Previous message:</b> <a href="0057.html">Didier Carlier: "Re: Need... more... .desc... files"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0059.html">Ian Grant: "Re: raw parallel device Q"</a>
<li> <b>Reply:</b> <a href="0059.html">Ian Grant: "Re: raw parallel device Q"</a>
<!-- reply="end" -->
</ul>