[sane-devel] sane-backends-1.0.22: Lide210 bumps into bottom
stef
stef.dev at free.fr
Thu Mar 22 05:36:55 UTC 2012
Le 21/03/2012 23:49, Peter Hackenberg a écrit :
> Hi all,
>
> To get my new Canon Lide 210 working I compiled sane-backends-1.0.22
> from the sources.
>
> At the end of the scan (with xsane 0.997 on Debian Squeeze) the scanner
> bumbs into a hard stop. The following patch fixes this:
>
> --- genesys_devices_orig.c 2011-01-21 01:26:47.000000000 +0100
> +++ genesys_devices.c 2012-03-20 22:06:44.076961530 +0100
> @@ -1358,28 +1358,28 @@
> static Genesys_Model canon_lide_210_model = {
> "canon-lide-210", /* Name */
> "Canon", /* Device vendor string */
> "LiDE 210", /* Device model name */
> GENESYS_GL124,
> NULL,
>
> {/*2400, */ 1200, 600, /* 400,*/ 300, 150, 100, 75, 0}, /* possible x-resolutions */
> {/*2400, */ 1200, 600, /* 400,*/ 300, 150, 100, 75, 0}, /* possible y-resolutions */
> {16, 8, 0}, /* possible depths in gray mode */
> {16, 8, 0}, /* possible depths in color mode */
>
> - SANE_FIX (3.6), /* Start of scan area in mm (x) */
> - SANE_FIX (8.5), /* Start of scan area in mm (y) */
> - SANE_FIX (213.80), /* Size of scan area in mm (x) */
> - SANE_FIX (300.0), /* Size of scan area in mm (y) */
> + SANE_FIX (1.9), /* Start of scan area in mm (x) */
> + SANE_FIX (7.9), /* Start of scan area in mm (y) */
> + SANE_FIX (217.0), /* Size of scan area in mm (x) */
> + SANE_FIX (298.0), /* Size of scan area in mm (y) */
>
> SANE_FIX (0.0), /* Start of white strip in mm (y) */
> SANE_FIX (0.0), /* Start of black mark in mm (x) */
>
> SANE_FIX (0.0), /* Start of scan area in TA mode in mm (x) */
> SANE_FIX (0.0), /* Start of scan area in TA mode in mm (y) */
> SANE_FIX (100.0), /* Size of scan area in TA mode in mm (x) */
> SANE_FIX (100.0), /* Size of scan area in TA mode in mm (y) */
>
> SANE_FIX (0.0), /* Start of white strip in TA mode in mm (y) */
>
> SANE_FIX (0.0), /* Size of scan area after paper sensor stops
>
>
>
> Two remarks on the numbers:
> The excact reference corner is (with my scanner) at x = 1.7 and y = 7.7.
> The sum of x-corner and x-width must not exceed 218.9, otherwise the
> scanned picture gets garbled due to too less pixels per line retured.
>
>
>
> One peculiarity observed. As soon as enhancement options are enabled in
> xsane (like software deskew or software crop in the extended options
> window) the scanner stops at the bottom and does not return to the start
> position. Well, with the next scan, it first returns to the start
> position. Any ideas on that?
>
>
>
> Did anybody find out how to make e.g. "A4" the default size in the xsane
> preview pane? But maybe my xsane is simply too old (0.997).
>
>
> Best regards,
> Peter
>
>
>
>
>
Hello,
did you test git SANE version (1.0.23git) of the genesys backend ?
Regards,
Stef
More information about the sane-devel
mailing list