[sane-devel] [PATCH] AVision 122 C2: scanning multiple pages in color mode

Ori Koren ori.koren.y at gmail.com
Mon Jun 28 17:45:48 UTC 2010


With the AVision 122 C2 scanner, when I scan several pages in color mode (using the sheet feeder) - only the
first page is scanned in color. The rest of the scanned pages appear in grayscale.

The following patch seems to solve the problem.

Thanks,
Ori


diff -urbN sane-backends-1.0.21/backend/avision.c sane-backends-1.0.21-patched/backend/avision.c
--- sane-backends-1.0.21/backend/avision.c	2010-04-05 23:18:03.000000000 +1000
+++ sane-backends-1.0.21-patched/backend/avision.c	2010-06-29 02:41:52.000000000 +1000
@@ -203,7 +203,7 @@
     { NULL, NULL,
       0x0638, 0x0A93,
       "Avision", "AV122 C2",
-      AV_INT_BUTTON | AV_2ND_LINE_INTERLACED | AV_NO_REAR | AV_SOFT_SCALE | AV_DOES_KEEP_WINDOW | AV_DOES_KEEP_GAMMA | AV_REAR_OFFSET,0},
+      AV_INT_BUTTON | AV_2ND_LINE_INTERLACED | AV_NO_REAR | AV_SOFT_SCALE | AV_DOES_NOT_KEEP_WINDOW | AV_DOES_KEEP_GAMMA | AV_REAR_OFFSET,0},
     /* comment="sheetfed duplex scanner" */
     /* status="good" */
 



More information about the sane-devel mailing list