I suggest create a common API for XFree86, that can use CUPS and SANE for multifunctional users. It could be a Ncurses GUI that would execute Sane or CUPS . Regards.