sane-project-website/old-archive/2000-12/0338.html

114 wiersze
4.6 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: RE: IOCTL codes for parallel port</TITLE>
<META NAME="Author" CONTENT="Adrian Perez Jorge (adrianpj@easynews.com)">
<META NAME="Subject" CONTENT="RE: IOCTL codes for parallel port">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>RE: IOCTL codes for parallel port</H1>
<!-- received="Sun Dec 31 09:28:14 2000" -->
<!-- isoreceived="20001231172814" -->
<!-- sent="Sun, 31 Dec 2000 09:45:41 -0800" -->
<!-- isosent="20001231174541" -->
<!-- name="Adrian Perez Jorge" -->
<!-- email="adrianpj@easynews.com" -->
<!-- subject="RE: IOCTL codes for parallel port" -->
<!-- id="200012311745.JAA11035@mail16.bigmailbox.com" -->
<!-- inreplyto="IOCTL codes for parallel port" -->
<STRONG>From:</STRONG> Adrian Perez Jorge (<A HREF="mailto:adrianpj@easynews.com?Subject=RE:%20IOCTL%20codes%20for%20parallel%20port&In-Reply-To=&lt;200012311745.JAA11035@mail16.bigmailbox.com&gt;"><EM>adrianpj@easynews.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Sun Dec 31 2000 - 09:45:41 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0339.html">Henning Meier-Geinitz: "Re: Installation and man page of find-scanner"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0337.html">Adrian Perez Jorge: "Re: HP PhotoSmart S20"</A>
<LI><STRONG>Maybe in reply to:</STRONG> <A HREF="0336.html">Max Vorobyev: "IOCTL codes for parallel port"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#338">[ date ]</A>
<A HREF="index.html#338">[ thread ]</A>
<A HREF="subject.html#338">[ subject ]</A>
<A HREF="author.html#338">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
('binary' encoding is not supported, stored as-is)
<EM>&gt;I've disassembled HP's driver for ScanJet 5s and convert most
</EM><BR>
<EM>&gt;branches (according to TWAIN driver description) to C-code. But there
</EM><BR>
<EM>&gt;is a problem: driver deals with LPT port via DeviceIoControl function
</EM><BR>
<EM>&gt;with some IOCTL codes. All I have is numeric constants, but I need
</EM><BR>
<EM>&gt;description of these command codes and (more important) buffer
</EM><BR>
<EM>&gt;structures for them. Those codes are not described in MSDN. Perhaps,
</EM><BR>
<EM>&gt;they should be in DDK of Windows NT. Can somebody help me to find
</EM><BR>
<EM>&gt;descriptions?
</EM><BR>
<EM>&gt;Thanks in advance.
</EM><BR>
<P><P>I have no experience in parallel port rev-eng... but have you used
<BR>
this pport sniffer?
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="http://www.sysinternals.com/portmon.htm">http://www.sysinternals.com/portmon.htm</A>
<BR>
<P>If this doesn't work, maybe there is a ``kernel-level driver'' wich is
<BR>
the piece of software which is really talking to the scanner, and
<BR>
maybe those are cumstom IOCTL's. So look at
<BR>
windoze/system32/drivers or windoze/system for any .vxd that were
<BR>
shipped in the scanner drivers.
<BR>
<P>Cheers,
<BR>
<P><P>Adrian Perez Jorge
<BR>
&lt;<A HREF="mailto:adrianpj@easynews.com?Subject=RE:%20IOCTL%20codes%20for%20parallel%20port&In-Reply-To=&lt;200012311745.JAA11035@mail16.bigmailbox.com&gt;">adrianpj@easynews.com</A>&gt;
<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:%20IOCTL%20codes%20for%20parallel%20port&In-Reply-To=&lt;200012311745.JAA11035@mail16.bigmailbox.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0339.html">Henning Meier-Geinitz: "Re: Installation and man page of find-scanner"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0337.html">Adrian Perez Jorge: "Re: HP PhotoSmart S20"</A>
<LI><STRONG>Maybe in reply to:</STRONG> <A HREF="0336.html">Max Vorobyev: "IOCTL codes for parallel port"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#338">[ date ]</A>
<A HREF="index.html#338">[ thread ]</A>
<A HREF="subject.html#338">[ subject ]</A>
<A HREF="author.html#338">[ 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 Dec 31 2000 - 09:30:23 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>