sane-project-website/old-archive/1998-12/0008.html

61 wiersze
2.8 KiB
HTML

<!-- received="Wed Dec 2 01:19:01 1998 PST" -->
<!-- sent="Wed, 2 Dec 1998 09:13:35 +0000 (GMT)" -->
<!-- name="Jon Knight" -->
<!-- email="jon@net.lut.ac.uk" -->
<!-- subject="Re: Genius scanners" -->
<!-- id="" -->
<!-- inreplyto="m0zkeSt-0005dTC@hex" -->
<title>sane-devel: Re: Genius scanners</title>
<h1>Re: Genius scanners</h1>
<b>Jon Knight</b> (<a href="mailto:jon@net.lut.ac.uk"><i>jon@net.lut.ac.uk</i></a>)<br>
<i>Wed, 2 Dec 1998 09:13:35 +0000 (GMT)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#8">[ date ]</a><a href="index.html#8">[ thread ]</a><a href="subject.html#8">[ subject ]</a><a href="author.html#8">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0009.html">Jon Knight: "Re: USB scanners?"</a>
<li> <b>Previous message:</b> <a href="0007.html">Hugo van der Kooij: "Re: USB scanners?"</a>
<li> <b>In reply to:</b> <a href="0003.html">Jonathan Buzzard: "Re: Genius scanners"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
On Tue, 1 Dec 1998, Jonathan Buzzard wrote:<br>
<i>&gt; If you can't get the information from Genius you best bet is probably to</i><br>
<i>&gt; try and get a Win 3.1 driver working under Wine and capture the output</i><br>
<i>&gt; using the port tracing facilities of Wine.</i><br>
<p>
Though watch out for scanners that you think are loading 16bit drivers but<br>
still end up trying to use a 32bit VxD behind the scenes. VxD's and Wine<br>
don't mix too well in my experience. You might be able to use bochs (the<br>
x86 emulator that supposedly can run Win95) but I haven't tried that yet<br>
(that's this weekend's task :-) ). <br>
<p>
Tatty bye,<br>
<p>
Jim'll<br>
<p>
#!/usr/bin/perl -- -Whois++-client-in-6-lines-of-Perl -Beat-that-Z39.50! <br>
use IO::Socket;sub w{$f=shift;$a{$f}=1;($h,$p,$q)=split("/",$f);$s=<br>
IO::Socket::INET-&gt;new(PeerAddr=&gt;"$h:$p")||return;print $s "$q\r\n";while(&lt;$s&gt;)<br>
{next if(/^%/);if(/^# SERVER-TO-ASK/){while(&lt;$s&gt;){$x=$1 if/Name: (.*)\r\n$/;$y<br>
=$1 if/Port: (.*)\r\n$/;$f="$x/$y/$q";@j=(@j,$f)if(/^# END/&amp;&amp;!$a{$f})}}else{<br>
print}}close($s)}@j=shift;while(@j){w(pop(@j))}# whois++.pl host/port/query<br>
<p>
<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="0009.html">Jon Knight: "Re: USB scanners?"</a>
<li> <b>Previous message:</b> <a href="0007.html">Hugo van der Kooij: "Re: USB scanners?"</a>
<li> <b>In reply to:</b> <a href="0003.html">Jonathan Buzzard: "Re: Genius scanners"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>