Re: Xsane-0.55: scan resolution selection (Epson 1200S, CVS Sane)

From: Oliver Rauch (oliver.rauch@Wolfsburg.DE)
Date: Sun Feb 20 2000 - 10:25:51 PST

  • Next message: Oliver Rauch: "Re: Xsane problems"

    Dave Hill wrote:

    > There is an alternative, instead of returning "min", "max" and "quant",
    > you can return the actual list instead, changing the type from
    > CONSTRAINT_LIST to WORD_LIST. See the agfafocus backend for more
    > on this. Xsane has code to handle this case as well as the
    > CONSTRAINT_LIST version, so I assume that it will display the
    > correct resolution list (although the code says > 50, so 50 DPI
    > isn't included(!), and you only get 20 items max). Could be worth
    > an #ifdef in the backend to try it.

    If the backend defines a list xsane takes the list exactly like it is.
    If the backend defines a range and the user tells xsane to create a list
    the minimum value is one resolution smaller or equal to 50, it is a bit tricky.

    Bye
    Oliver

    --
    Homepage:       http://www.wolfsburg.de/~rauch
    sane-umax:      http://www.wolfsburg.de/~rauch/sane/sane-umax.html
    xsane:          http://www.wolfsburg.de/~rauch/sane/sane-xsane.html
    E-Mail:         mailto:Oliver.Rauch@Wolfsburg.DE
    

    -- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com



    This archive was generated by hypermail 2b29 : Sun Feb 20 2000 - 10:36:47 PST