Hi, Currently, SANE propose three macro for scan mode values (Color, Gray and Lineart) in order to keep backends consistent.
Writing a frontend, i would like to know wether the source is ADF or not, this will allow frontend to scan until SANE_STATUS_NO_DOCS is returned or just do one scan. However, backends have inconsistent source values.
