Whatever settings (color, line-art, DPI size ...) you have in simple-scan, there will be scanners out there which don't support at least one of those settings.
Possible solutions:
1. Decide the scanner/sane is crap/inconsistent (yes sane is inconsistent) and ignore the bug.
2. Make every scan setting user adjustable. But this would mean that every user has first to query 'scanimage -h' to fiddle out the required settings.
3. Have a database with scanners and the corresponding settings. But this would mean that users have to provide the required settings (unless you have a scanner park with all scanners spread over the world).
The situation is even worse.
Whatever settings (color, line-art, DPI size ...) you have in simple-scan, there will be scanners out there which don't support at least one of those settings.
Possible solutions:
1. Decide the scanner/sane is crap/inconsistent (yes sane is inconsistent) and ignore the bug.
2. Make every scan setting user adjustable. But this would mean that every user has first to query 'scanimage -h' to fiddle out the required settings.
3. Have a database with scanners and the corresponding settings. But this would mean that users have to provide the required settings (unless you have a scanner park with all scanners spread over the world).