summaryrefslogtreecommitdiff
path: root/src/scanner.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2021-11-26 07:45:51 +0100
committerJörg Frings-Fürst <debian@jff.email>2021-11-26 07:45:51 +0100
commitabcd042fc0ee8698096f21b056574426a991dbd2 (patch)
tree0b7acfa8931a9758eaca8bf1011efa4b522774e2 /src/scanner.vala
parentecd78b4dbc7cb634fc7bda67205a5bd04b13d5ea (diff)
parentea0a0e5d6e637ca8443194b400a282b1fc325c7e (diff)
Merge branch 'release/debian/40.6-1'debian/40.6-1
Diffstat (limited to 'src/scanner.vala')
-rw-r--r--src/scanner.vala5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/scanner.vala b/src/scanner.vala
index 01e77e2..d968aec 100644
--- a/src/scanner.vala
+++ b/src/scanner.vala
@@ -926,6 +926,7 @@ public class Scanner : Object
Sane.I18N ("Automatic Document Feeder"),
"ADF",
"Automatic Document Feeder(centrally aligned)", /* Seen in the proprietary brother3 driver */
+ "Automatic Document Feeder(center aligned)", /* Seen in Brother's proprietary brscan5 driver */
"Automatic Document Feeder(left aligned)", /* Seen in the proprietary brother3 driver */
"ADF Simplex" /* Samsung unified driver. LP: # 892915 */
};
@@ -1102,6 +1103,10 @@ public class Scanner : Object
/* Non-standard Epson GT-S50 ADF options */
option = get_option_by_name (handle, "adf-mode", out index);
+
+ /* Support Canon DR-C240 ADF_BOTH options */
+ if (option == null)
+ option = get_option_by_name (handle, "ScanMode", out index);
if (option != null)
{
string[] adf_simplex_modes =