kopia lustrzana https://gitlab.com/sane-project/website
105 wiersze
3.8 KiB
HTML
105 wiersze
3.8 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: Fix for Scanmaker E3</TITLE>
|
|
<META NAME="Author" CONTENT="Thomas Boutell (boutell@vader.boutell.com)">
|
|
<META NAME="Subject" CONTENT="Fix for Scanmaker E3">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Fix for Scanmaker E3</H1>
|
|
<!-- received="Wed Mar 28 12:31:05 2001" -->
|
|
<!-- isoreceived="20010328203105" -->
|
|
<!-- sent="Thu, 22 Mar 2001 13:53:06 -0800 (PST)" -->
|
|
<!-- isosent="20010322215306" -->
|
|
<!-- name="Thomas Boutell" -->
|
|
<!-- email="boutell@vader.boutell.com" -->
|
|
<!-- subject="Fix for Scanmaker E3" -->
|
|
<!-- id="Pine.LNX.3.95.1010322135006.21081A-100000@vader.boutell.com" -->
|
|
<STRONG>From:</STRONG> Thomas Boutell (<A HREF="mailto:boutell@vader.boutell.com?Subject=Re:%20Fix%20for%20Scanmaker%20E3&In-Reply-To=<Pine.LNX.3.95.1010322135006.21081A-100000@vader.boutell.com>"><EM>boutell@vader.boutell.com</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Thu Mar 22 2001 - 13:53:06 PST
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0236.html">Thomas Boutell: "Really effective legal-size document copying script"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0234.html">Henning Meier-Geinitz: "Re: no SANE device found"</A>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#235">[ date ]</A>
|
|
<A HREF="index.html#235">[ thread ]</A>
|
|
<A HREF="subject.html#235">[ subject ]</A>
|
|
<A HREF="author.html#235">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
The Microtek Scanmaker E3 is a legal size scanner
|
|
<BR>
|
|
(8.5 by 14, effective size at least close to that),
|
|
<BR>
|
|
but it doesn't know it. It reports a doc_size_code
|
|
<BR>
|
|
of 2, which maps to 8.5 by 11.69.
|
|
<BR>
|
|
<P>Here's a fix for microtek.c that does the job:
|
|
<BR>
|
|
<P> if (mi->model_code == 0x5f) {
|
|
<BR>
|
|
DBG(2, "Force 8.5 by 14 for Scanmaker E3, which lies about its document size.\n");
|
|
<BR>
|
|
mi->doc_size_code = 0x00;
|
|
<BR>
|
|
}
|
|
<BR>
|
|
switch (mi->doc_size_code) {
|
|
<BR>
|
|
<P>I included the switch() line above to make it easier to
|
|
<BR>
|
|
place this code in context in microtek.c. It's around
|
|
<BR>
|
|
line 1487. My apologies for not sending a proper diff
|
|
<BR>
|
|
but this isn't tough to find and I did base this on
|
|
<BR>
|
|
version 1.0.4.
|
|
<BR>
|
|
<P>I hope this patch is useful to others still getting good
|
|
<BR>
|
|
stuff out of a Scanmaker E3.
|
|
<BR>
|
|
<P><PRE>
|
|
--
|
|
Thomas Boutell
|
|
Boutell.Com, Inc.
|
|
<A HREF="http://www.boutell.com/">http://www.boutell.com/</A>
|
|
<P><P><P>--
|
|
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:%20Fix%20for%20Scanmaker%20E3&In-Reply-To=<Pine.LNX.3.95.1010322135006.21081A-100000@vader.boutell.com>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0236.html">Thomas Boutell: "Really effective legal-size document copying script"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0234.html">Henning Meier-Geinitz: "Re: no SANE device found"</A>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#235">[ date ]</A>
|
|
<A HREF="index.html#235">[ thread ]</A>
|
|
<A HREF="subject.html#235">[ subject ]</A>
|
|
<A HREF="author.html#235">[ 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>Wed Mar 28 2001 - 12:32:33 PST</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|