kopia lustrzana https://gitlab.com/sane-project/website
147 wiersze
5.1 KiB
HTML
147 wiersze
5.1 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: Xsane problems</TITLE>
|
|
<META NAME="Author" CONTENT="Oliver Rauch (oliver.rauch@Wolfsburg.DE)">
|
|
<META NAME="Subject" CONTENT="Re: Xsane problems">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: Xsane problems</H1>
|
|
<!-- received="Sun Feb 20 10:35:09 2000" -->
|
|
<!-- isoreceived="20000220183509" -->
|
|
<!-- sent="Sun, 20 Feb 2000 19:30:20 +0100" -->
|
|
<!-- isosent="20000220183020" -->
|
|
<!-- name="Oliver Rauch" -->
|
|
<!-- email="oliver.rauch@Wolfsburg.DE" -->
|
|
<!-- subject="Re: Xsane problems" -->
|
|
<!-- id="38B032BC.D0965BE8@wolfsburg.de" -->
|
|
<!-- inreplyto="00022015121000.02610@cygnusx1.local.net" -->
|
|
<STRONG>From:</STRONG> Oliver Rauch (<A HREF="mailto:oliver.rauch@Wolfsburg.DE?Subject=Re:%20Xsane%20problems&In-Reply-To=<38B032BC.D0965BE8@wolfsburg.de>"><EM>oliver.rauch@Wolfsburg.DE</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Sun Feb 20 2000 - 10:30:20 PST
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0246.html">Oliver Rauch: "xsane-0.57 available --- please try"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0244.html">Oliver Rauch: "Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0238.html">Henrik Johansson: "Xsane problems"</A>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#245">[ date ]</A>
|
|
<A HREF="index.html#245">[ thread ]</A>
|
|
<A HREF="subject.html#245">[ subject ]</A>
|
|
<A HREF="author.html#245">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Henrik Johansson wrote:
|
|
<BR>
|
|
<P><EM>> Hi
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Has anyone experienced any trouble when using Xsane with the Snapscan backend?
|
|
</EM><BR>
|
|
<EM>> When using this backend with the Snapscan 1212U patch applied in Xsane, I
|
|
</EM><BR>
|
|
<EM>> can't see the resolution slider. This problem has never showed in other
|
|
</EM><BR>
|
|
<EM>> frontends like xscanimage.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> I got this on STDOUT when running Xsane:
|
|
</EM><BR>
|
|
<EM>> Init resol: 1
|
|
</EM><BR>
|
|
<EM>> scansource_selection: unknown constraint type 0
|
|
</EM><BR>
|
|
<EM>> Init resol: 1
|
|
</EM><BR>
|
|
<EM>> scansource_selection: unknown constraint type 0
|
|
</EM><BR>
|
|
<EM>> Resolution option: -1
|
|
</EM><BR>
|
|
<EM>> find_best_resolution: unknown constraint type 0
|
|
</EM><BR>
|
|
<EM>> set_resolution: unable to set resolution
|
|
</EM><BR>
|
|
<EM>> Resolution option: -1
|
|
</EM><BR>
|
|
<EM>> find_best_resolution: unknown constraint type 0
|
|
</EM><BR>
|
|
<EM>> set_resolution: unable to set resolution
|
|
</EM><BR>
|
|
<EM>> Resolution option: 1
|
|
</EM><BR>
|
|
<EM>> Init resol: 1
|
|
</EM><BR>
|
|
<EM>> scansource_selection: unknown constraint type 0
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<P>Hi Henrik,
|
|
<BR>
|
|
<P>xsane-0.57 will solve this problem.
|
|
<BR>
|
|
The problem is that the snapscan backend returns an invalid pointer
|
|
<BR>
|
|
when sane_get_option_descriptor is called with negative values.
|
|
<BR>
|
|
Normally this sould be fixed in the backend but because there are
|
|
<BR>
|
|
other backends who return invalid pointers I decided to solve
|
|
<BR>
|
|
the problem in xsane.
|
|
<BR>
|
|
<P>If you want a quick fix edit snapscan.c and change the test for
|
|
<BR>
|
|
if (option<max_options)
|
|
<BR>
|
|
<P>to
|
|
<BR>
|
|
<P>if ((option>=0) && (option<max_options))
|
|
<BR>
|
|
<P>Bye
|
|
<BR>
|
|
Oliver
|
|
<BR>
|
|
<P><P><P><PRE>
|
|
--
|
|
Homepage: <A HREF="http://www.wolfsburg.de/~rauch">http://www.wolfsburg.de/~rauch</A>
|
|
sane-umax: <A HREF="http://www.wolfsburg.de/~rauch/sane/sane-umax.html">http://www.wolfsburg.de/~rauch/sane/sane-umax.html</A>
|
|
xsane: <A HREF="http://www.wolfsburg.de/~rauch/sane/sane-xsane.html">http://www.wolfsburg.de/~rauch/sane/sane-xsane.html</A>
|
|
E-Mail: mailto:<A HREF="mailto:Oliver.Rauch@Wolfsburg.DE?Subject=Re:%20Xsane%20problems&In-Reply-To=<38B032BC.D0965BE8@wolfsburg.de>">Oliver.Rauch@Wolfsburg.DE</A>
|
|
<P><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:%20Xsane%20problems&In-Reply-To=<38B032BC.D0965BE8@wolfsburg.de>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0246.html">Oliver Rauch: "xsane-0.57 available --- please try"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0244.html">Oliver Rauch: "Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0238.html">Henrik Johansson: "Xsane problems"</A>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#245">[ date ]</A>
|
|
<A HREF="index.html#245">[ thread ]</A>
|
|
<A HREF="subject.html#245">[ subject ]</A>
|
|
<A HREF="author.html#245">[ 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 Feb 20 2000 - 10:36:49 PST</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|