Are you saying that the backend does not work when you remove the debugging? This sounds like you have a timing problem, and the debugging info slows down the backend, so that the scanner can keep up. You might need to add some sleep() or usleep() to the code.
allan On Wed, Nov 6, 2013 at 5:39 AM, <YiHao at rst.ricoh.com> wrote: > > Dear allan: > > I am sorry to trouble you again, > I can use the sane backend by following methods, > SANE_DEBUG_RICOH=255 scanimage --format=tiff >out1.tiff > > but if no environment variables "SANE_DEBUG_RICOH=255", > sane will not be able to work => scanimage: no SANE devices found. > Excuse me, Is this what I need to do? > > Look forward to your help, Thank you~ > Best Regard > Yours Sincerely, Yihao > -- "The truth is an offense, but not a sin"
