[sane-devel] add support for ricoh aficio sp100su
viruxx
dj_virus142 at hotmail.com
Fri Mar 10 17:14:36 UTC 2017
discovered something while playing with this mode
here is the grayscale a4 preview (same than b/w a4 preview)
>>> dev.write(0x3,"\x03\x09\x01"); dev.read(0x85,100)
<<<array('B', [0])//scanner response
>>> dev.write(0x3,"\x03\x0D\x0B"); dev.read(0x85,100)
<<<array('B', [126, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])//scanner response
>>> dev.write(0x3,"\x03\x0C\x11\x00\x00\x00\x01\x02\x05\xFF\x00\x00\x00\x00\xE8\x13\x68\x1B");
>>> dev.write(0x3,"\x03\x0B\x08"); dev.read(0x85,100)
<<<array('B', [0, 10, 180, 13, 244, 9, 180, 13]) //scanner response
>>> dev.write(0x3,"\x03\x08\x04\x00\x00\x00\x00\x08\x89\x00\x01"); //scanner
>>> give a 64000 data packet
dev.write(0x3,"\x03\x0E\x04\x00\x00\x00\x00\xFA"); dev.read(0x85,100) //add
a 64000 data packet
the \x03\x0E\x04\x00\x00\x00\x00\xFA sequence is executed 32 times
after that it send \x03\x0E\x04\x00\x00\x00\x00\xBE and receive only 48640
data packet
then return to 32 times \x03\x0E\x04\x00\x00\x00\x00\xFA 64000 data
until the end
--
View this message in context: http://sane.10972.n7.nabble.com/add-support-for-ricoh-aficio-sp100su-tp20705p20714.html
Sent from the SANE - Dev mailing list archive at Nabble.com.
More information about the sane-devel
mailing list