kopia lustrzana https://gitlab.com/sane-project/website
209 wiersze
5.9 KiB
HTML
209 wiersze
5.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
|
|
"http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>sane-devel: HP3400 & HP4300. Hacking report.</TITLE>
|
|
<META NAME="Author" CONTENT="Adrian Perez Jorge (adrianpj@easynews.com)">
|
|
<META NAME="Subject" CONTENT="HP3400 & HP4300. Hacking report.">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>HP3400 & HP4300. Hacking report.</H1>
|
|
<!-- received="Sun Sep 24 02:56:19 2000" -->
|
|
<!-- isoreceived="20000924095619" -->
|
|
<!-- sent="Sun, 24 Sep 2000 03:15:05 -0700" -->
|
|
<!-- isosent="20000924101505" -->
|
|
<!-- name="Adrian Perez Jorge" -->
|
|
<!-- email="adrianpj@easynews.com" -->
|
|
<!-- subject="HP3400 & HP4300. Hacking report." -->
|
|
<!-- id="200009241015.DAA32743@mail25.bigmailbox.com" -->
|
|
<STRONG>From:</STRONG> Adrian Perez Jorge (<A HREF="mailto:adrianpj@easynews.com?Subject=Re:%20HP3400%20&%20HP4300.%20%20Hacking%20report.&In-Reply-To=<200009241015.DAA32743@mail25.bigmailbox.com>"><EM>adrianpj@easynews.com</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Sun Sep 24 2000 - 03:15:05 PDT
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0240.html">Oliver Schwartz: "Re: will my scanner work"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0238.html">Oliver Rauch: "Re: Simultaneous Net Calls"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0241.html">Jochen Eisinger: "Re: HP3400 & HP4300. Hacking report."</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0241.html">Jochen Eisinger: "Re: HP3400 & HP4300. Hacking report."</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#239">[ date ]</A>
|
|
<A HREF="index.html#239">[ thread ]</A>
|
|
<A HREF="subject.html#239">[ subject ]</A>
|
|
<A HREF="author.html#239">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
('binary' encoding is not supported, stored as-is)
|
|
Hi everybody,
|
|
<BR>
|
|
<P> A friend has e-mailed me asking about SANE support for the HP3400
|
|
<BR>
|
|
scanner. This one is a parallel port scanner.
|
|
<BR>
|
|
<P>I know the first thing to do is to know if the scanner supports SCL.
|
|
<BR>
|
|
I have not tried yet to ask HP support about this. Just
|
|
<BR>
|
|
disassemble a .dll and then those function names appeared:
|
|
<BR>
|
|
<P>Name: DllMain
|
|
<BR>
|
|
Name: ScannerLock
|
|
<BR>
|
|
Name: ScannerVersion
|
|
<BR>
|
|
Name: Color
|
|
<BR>
|
|
Name: ColorDither
|
|
<BR>
|
|
Name: ColorThreshold
|
|
<BR>
|
|
Name: CommandInquire
|
|
<BR>
|
|
Name: Dither
|
|
<BR>
|
|
Name: Download
|
|
<BR>
|
|
Name: GetScanInfo
|
|
<BR>
|
|
Name: GetScanState
|
|
<BR>
|
|
Name: GrayScale
|
|
<BR>
|
|
Name: ResetScanner
|
|
<BR>
|
|
Name: Scan
|
|
<BR>
|
|
Name: SetDecipointWindow
|
|
<BR>
|
|
Name: SetPixelWindow
|
|
<BR>
|
|
Name: SetResolution
|
|
<BR>
|
|
Name: SetScale
|
|
<BR>
|
|
Name: SetScanState
|
|
<BR>
|
|
Name: SetScanWindow
|
|
<BR>
|
|
Name: Threshold
|
|
<BR>
|
|
Name: Upload
|
|
<BR>
|
|
Name: BuildCommand
|
|
<BR>
|
|
Name: BuildInquire
|
|
<BR>
|
|
Name: InquireModel
|
|
<BR>
|
|
Name: InquireNumber
|
|
<BR>
|
|
Name: InquireOldestError
|
|
<BR>
|
|
Name: InquireString
|
|
<BR>
|
|
Name: ReceiveResponse
|
|
<BR>
|
|
Name: SendCommand
|
|
<BR>
|
|
Name: RecFromScanner
|
|
<BR>
|
|
Name: SendToScanner
|
|
<BR>
|
|
Name: CheckIO
|
|
<BR>
|
|
Name: VerifyResponse
|
|
<BR>
|
|
Name: ButtonPoll
|
|
<BR>
|
|
Name: ClearButton
|
|
<BR>
|
|
Name: ScannerLockButton
|
|
<BR>
|
|
Name: DualScan
|
|
<BR>
|
|
Name: SetDiagnosticSCL
|
|
<BR>
|
|
Name: InquireBufferSize
|
|
<BR>
|
|
Name: SCLRead
|
|
<BR>
|
|
<P><P>You will notice the `SetDiagnosticSCL' and `SCLRead' functions, so
|
|
<BR>
|
|
maybe this scanner is also using SCL. It seems the hp3400 and the
|
|
<BR>
|
|
hp4300 scanners are using the same driver.
|
|
<BR>
|
|
<P>If the scanner supports SCL, the main question here now is what device
|
|
<BR>
|
|
is being used to interface the computer to the scanner controller.
|
|
<BR>
|
|
This guy tried to use the ppSCSI patch, but unfortunately the module
|
|
<BR>
|
|
can't find a known protocol, maybe because the scanner is not using
|
|
<BR>
|
|
the Shuttle EPST/EPSA-2 adapter.
|
|
<BR>
|
|
<P>The windoze low level controller for this scanner is a .vxd file.
|
|
<BR>
|
|
This .vxd was developed using a toolkit from Vireo Software, and the
|
|
<BR>
|
|
string ``c:\silitek\2.23\hpgtp'' appears somewhere in the .vxd. I have
|
|
<BR>
|
|
asked Silitek (www.silitek.com) about this, but no answer until
|
|
<BR>
|
|
now. :(
|
|
<BR>
|
|
<P>I have also tried to use Jochen Eisinger's tool to capture the IO
|
|
<BR>
|
|
port (vdx), but I get a ``Segmentation fault'' when running the
|
|
<BR>
|
|
program.
|
|
<BR>
|
|
<P>Any help will be appreciated (where to ask for info, how to hack the
|
|
<BR>
|
|
.vxd, etc).
|
|
<BR>
|
|
<P><P><P><P>Adrian Perez Jorge
|
|
<BR>
|
|
<<A HREF="mailto:adrianpj@easynews.com?Subject=Re:%20HP3400%20&%20HP4300.%20%20Hacking%20report.&In-Reply-To=<200009241015.DAA32743@mail25.bigmailbox.com>">adrianpj@easynews.com</A>>
|
|
<BR>
|
|
<P>------------------------------------------------------------
|
|
<BR>
|
|
Free Web space and web based email @EASYNEWS.COM
|
|
<BR>
|
|
<P><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?Subject=Re:%20HP3400%20&%20HP4300.%20%20Hacking%20report.&In-Reply-To=<200009241015.DAA32743@mail25.bigmailbox.com>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0240.html">Oliver Schwartz: "Re: will my scanner work"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0238.html">Oliver Rauch: "Re: Simultaneous Net Calls"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0241.html">Jochen Eisinger: "Re: HP3400 & HP4300. Hacking report."</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0241.html">Jochen Eisinger: "Re: HP3400 & HP4300. Hacking report."</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#239">[ date ]</A>
|
|
<A HREF="index.html#239">[ thread ]</A>
|
|
<A HREF="subject.html#239">[ subject ]</A>
|
|
<A HREF="author.html#239">[ author ]</A>
|
|
</UL>
|
|
<!-- trailer="footer" -->
|
|
<HR NOSHADE>
|
|
<P>
|
|
<SMALL>
|
|
<EM>
|
|
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
|
|
: <EM>Sun Sep 24 2000 - 02:57:11 PDT</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|