Depends whether the Windows 3.1 software for the BizCard works under Wine
or not. I've been trying to get the Windows 3.1 and/or 95 software for my
Plustek OP600P to run under Wine with little success. Even on the most
recent release of Wine, the TWAIN drivers refuse to load and Wine hits an
error (which I haven't had time to trace yet - maybe this weekend).
Some of you might be wondering why I'm bothering with this as Plustek have
shipped us driver code already. Well the reasons are two fold. Firstly
the driver code we have is for a Plustek OP4800P and there appear to be
some differences in the OP600P setup. If I can get the Plustek OP600P
Windows drivers to work under Wine I can protocol trace and find out where
the protocol differs without having to go back to Plustek to get more
code. Secondly I want to get Wine tracing at least one parallel port
protocol that I sort of know so that I can see how it works. Then when
the next unknown scanner appears on my desk I might have a better shot at
reverse engineering the protocol.
Tatty bye,
Jim'll
#!/usr/bin/perl -- -Whois++-client-in-6-lines-of-Perl -Beat-that-Z39.50!
use IO::Socket;sub w{$f=shift;$a{$f}=1;($h,$p,$q)=split("/",$f);$s=
IO::Socket::INET->new(PeerAddr=>"$h:$p")||return;print $s "$q\r\n";while(<$s>)
{next if(/^%/);if(/^# SERVER-TO-ASK/){while(<$s>){$x=$1 if/Name: (.*)\r\n$/;$y
=$1 if/Port: (.*)\r\n$/;$f="$x/$y/$q";@j=(@j,$f)if(/^# END/&&!$a{$f})}}else{
print}}close($s)}@j=shift;while(@j){w(pop(@j))}# whois++.pl host/port/query
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com