Re: [sane-devel] HP 5590 ADF end of page

2014-11-08 Thread Ilia Sotnikov
Gentlemen, being author of the backend let me thank you for spotting the pixel behavior. As I mentioned somewhat earlier I discovered the duplex mode in original Windows driver occasionally. That means there some aspects to be discovered such as the pixel indicator one. Meanwhile, let's account fo

Re: [sane-devel] HP 5590 ADF end of page

2014-11-08 Thread Protected
Hello Rainer, I have actually discovered yet another trick with the blue pixels: the pixel's blue RGB value is not random; in fact it even signals the end of the document (170 when there are pages left to be scanned, and 255 at the end of the document). In the meantime, I have also wrote a Perl s

Re: [sane-devel] HP 5590 ADF end of page

2014-11-08 Thread Rainer Keller
Hello Augusto, I tried to handle the blue pixel as a page change. Additional lines will be skipped until the blue pixel is found. But now the scanimage tool will not terminate properly, maybe because just skipping lines like I do is not the correct way to do this. See attached patch. Given the c