kopia lustrzana https://gitlab.com/sane-project/website
178 wiersze
6.1 KiB
HTML
178 wiersze
6.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-0.55: scan resolution selection (Epson 12</TITLE>
|
|
<META NAME="Author" CONTENT="John Vickers (jvickers@dial.pipex.com)">
|
|
<META NAME="Subject" CONTENT="Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)</H1>
|
|
<!-- received="Sat Feb 19 03:15:07 2000" -->
|
|
<!-- isoreceived="20000219111507" -->
|
|
<!-- sent="Sat, 19 Feb 2000 11:17:48 +0000" -->
|
|
<!-- isosent="20000219111748" -->
|
|
<!-- name="John Vickers" -->
|
|
<!-- email="jvickers@dial.pipex.com" -->
|
|
<!-- subject="Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)" -->
|
|
<!-- id="38AE7BDC.AAEB582D@dial.pipex.com" -->
|
|
<!-- inreplyto="200002171308.IAA01826@robin.khk.net" -->
|
|
<STRONG>From:</STRONG> John Vickers (<A HREF="mailto:jvickers@dial.pipex.com?Subject=Re:%20Xsane-0.55:%20scan%20resolution%20selection%20(Epson%201200S,%20CVS%20Sane)&In-Reply-To=<38AE7BDC.AAEB582D@dial.pipex.com>"><EM>jvickers@dial.pipex.com</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Sat Feb 19 2000 - 03:17:48 PST
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0216.html">John Vickers: "Re: New CVS snapshot 20000213"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0214.html">Petter Reinholdtsen: "Re: New CVS snapshot 20000213"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0219.html">Oliver Rauch: "Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0219.html">Oliver Rauch: "Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#215">[ date ]</A>
|
|
<A HREF="index.html#215">[ thread ]</A>
|
|
<A HREF="subject.html#215">[ subject ]</A>
|
|
<A HREF="author.html#215">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Hi.
|
|
<BR>
|
|
<P>I had a bit more of a poke around, and I think the problem is in xsane.
|
|
<BR>
|
|
<P>(After making sure I really was linking with the sane I thought
|
|
<BR>
|
|
I was linking with...)
|
|
<BR>
|
|
<P>xsane uses quite different code for the preview resolution slider
|
|
<BR>
|
|
and for the main resolution slider.
|
|
<BR>
|
|
<P>For the preview slider, the xsane resets the slider value to the
|
|
<BR>
|
|
resolution value returned by the backend, so that a subsequent
|
|
<BR>
|
|
change to the slider value, via cursor keys or mouse clicks
|
|
<BR>
|
|
is relative to the valuye returned by the backend.
|
|
<BR>
|
|
<P>For the main resolution slider, the slider value is never reset.
|
|
<BR>
|
|
<P>HTH. I'll do some more digging. But this GUI stuff is a bit high level
|
|
<BR>
|
|
for me. Can't you write it in VHDL ? ;-)
|
|
<BR>
|
|
<P>John.
|
|
<BR>
|
|
<P><P><P>Karl Heinz Kremer wrote:
|
|
<BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Hmmm... The Epson backend uses a range for both the scan and
|
|
</EM><BR>
|
|
<EM>> preview resolution. What is the "recommended" way of handling
|
|
</EM><BR>
|
|
<EM>> the resolution list? I've checked all the backends in the CVS
|
|
</EM><BR>
|
|
<EM>> and I see word lists, string lists, and ranges. I have the
|
|
</EM><BR>
|
|
<EM>> feeling that I should change this... Oliver, do you have
|
|
</EM><BR>
|
|
<EM>> any advise on which of the lists is more useable from a
|
|
</EM><BR>
|
|
<EM>> frontend perspective?
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Karl Heinz
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> John Vickers <<A HREF="mailto:jvickers@dial.pipex.com?Subject=Re:%20Xsane-0.55:%20scan%20resolution%20selection%20(Epson%201200S,%20CVS%20Sane)&In-Reply-To=<38AE7BDC.AAEB582D@dial.pipex.com>">jvickers@dial.pipex.com</A>> said:
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> > Oliver Rauch wrote:
|
|
</EM><BR>
|
|
<EM>> > [...]
|
|
</EM><BR>
|
|
<EM>> > > Hi John,
|
|
</EM><BR>
|
|
<EM>> > >
|
|
</EM><BR>
|
|
<EM>> > > if the backend defines the resolution as a range (slider) with 1
|
|
</EM><BR>
|
|
<EM>> dpi available
|
|
</EM><BR>
|
|
<EM>> > > the frontend (xsane) is not able to now which resolutions the
|
|
</EM><BR>
|
|
<EM>> scanner supports.
|
|
</EM><BR>
|
|
<EM>> > >
|
|
</EM><BR>
|
|
<EM>> > > If you enable in xsane prferences->resolution list then xsane
|
|
</EM><BR>
|
|
<EM>> creates a list of
|
|
</EM><BR>
|
|
<EM>> > > resolutions that fits into the given range/step.
|
|
</EM><BR>
|
|
<EM>> > >
|
|
</EM><BR>
|
|
<EM>> > > Bye
|
|
</EM><BR>
|
|
<EM>> > > Oliver
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>> > Thanks, I'll look at the what the backend does for the preview and
|
|
</EM><BR>
|
|
<EM>> main
|
|
</EM><BR>
|
|
<EM>> > scan
|
|
</EM><BR>
|
|
<EM>> > resolutions.
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>> > Regards,
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>> > John.
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<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:%20Xsane-0.55:%20scan%20resolution%20selection%20(Epson%201200S,%20CVS%20Sane)&In-Reply-To=<38AE7BDC.AAEB582D@dial.pipex.com>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0216.html">John Vickers: "Re: New CVS snapshot 20000213"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0214.html">Petter Reinholdtsen: "Re: New CVS snapshot 20000213"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0219.html">Oliver Rauch: "Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0219.html">Oliver Rauch: "Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#215">[ date ]</A>
|
|
<A HREF="index.html#215">[ thread ]</A>
|
|
<A HREF="subject.html#215">[ subject ]</A>
|
|
<A HREF="author.html#215">[ 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>Sat Feb 19 2000 - 03:17:01 PST</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|