diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2021-11-15 11:17:50 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2021-11-15 11:17:50 +0100 |
commit | 21ae6e8c8b999caeb8e32849019713808cb5fdb3 (patch) | |
tree | 08b2f3478489ed5e5f4062dc62d56ab988daf0a4 /src/scanner.vala | |
parent | 243b138d715c3cfb5a2ea672148234cb679a2cc3 (diff) | |
parent | 7261d6a7e5b557003de9309b2da13b9762346834 (diff) |
Update upstream source from tag 'upstream/40.6'
Update to upstream version '40.6'
with Debian dir eb9847687a3c36a0f5391b61997ead1508b17e1b
Diffstat (limited to 'src/scanner.vala')
-rw-r--r-- | src/scanner.vala | 5 |
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 = |