sane-project-website/old-archive/1998-11/0104.html

72 wiersze
3.4 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="Wed Nov 11 01:51:39 1998 PST" -->
<!-- sent="Wed, 11 Nov 1998 09:48:31 +0000 (GMT)" -->
<!-- name="Jon Knight" -->
<!-- email="jon@net.lut.ac.uk" -->
<!-- subject="Re: Mustek 1200 III EP?" -->
<!-- id="" -->
<!-- inreplyto="3648744C.693771C3@videotron.ca" -->
<title>sane-devel: Re: Mustek 1200 III EP?</title>
<h1>Re: Mustek 1200 III EP?</h1>
<b>Jon Knight</b> (<a href="mailto:jon@net.lut.ac.uk"><i>jon@net.lut.ac.uk</i></a>)<br>
<i>Wed, 11 Nov 1998 09:48:31 +0000 (GMT)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#104">[ date ]</a><a href="index.html#104">[ thread ]</a><a href="subject.html#104">[ subject ]</a><a href="author.html#104">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0105.html">Magnus Hacker: "Parallell port scanners"</a>
<li> <b>Previous message:</b> <a href="0103.html">Henry Miller: "Leo Scan S3 traces avaiable."</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
On Tue, 10 Nov 1998, Andre Couture wrote:<br>
<i>&gt; That just gave me an idea...</i><br>
<i>&gt; Can install Win3.1 on Wine and that port utility could see what kinda</i><br>
<i>&gt; protocol uses my BizCard...</i><br>
<i>&gt; </i><br>
<i>&gt; Would that be feasible guys?</i><br>
<p>
Depends whether the Windows 3.1 software for the BizCard works under Wine<br>
or not. I've been trying to get the Windows 3.1 and/or 95 software for my<br>
Plustek OP600P to run under Wine with little success. Even on the most<br>
recent release of Wine, the TWAIN drivers refuse to load and Wine hits an<br>
error (which I haven't had time to trace yet - maybe this weekend).<br>
<p>
Some of you might be wondering why I'm bothering with this as Plustek have<br>
shipped us driver code already. Well the reasons are two fold. Firstly<br>
the driver code we have is for a Plustek OP4800P and there appear to be<br>
some differences in the OP600P setup. If I can get the Plustek OP600P<br>
Windows drivers to work under Wine I can protocol trace and find out where<br>
the protocol differs without having to go back to Plustek to get more<br>
code. Secondly I want to get Wine tracing at least one parallel port<br>
protocol that I sort of know so that I can see how it works. Then when<br>
the next unknown scanner appears on my desk I might have a better shot at<br>
reverse engineering the protocol.<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="0105.html">Magnus Hacker: "Parallell port scanners"</a>
<li> <b>Previous message:</b> <a href="0103.html">Henry Miller: "Leo Scan S3 traces avaiable."</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>