Hello,
Comments on coding rules:
1) place brackets around elements like % and other mathematics
operators. It is safer whan you make a change in the future.
2) prefer 0 == value to be sure at typing the you don't forget the
second =. It applies event if value is a complex element.
PS: is the m
ok today i worked with the data, i added this in the loop
try { FileChannel channel = new FileOutputStream(new File("out.xml"),
true).getChannel(); //true = append data
channel.write(readed);
ok, lets resume all of this
i converted the python program in java, its more habitual to manipulate this
language for me
i combined every modes, color, grayscale and bw, all in 75ppp resolution
with 2 different size
*full plate a4+a little margin
*semi sized a5 manually resized in paintbrush scan
f
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)
<<>> dev.write(0x3,"\x03\x0D\x0B"); dev.read(0x85,100)
<<>> dev.write(0x3,"\x03\x0C\x11\x00\x00\x00\x01\x02\x05\xFF\x00\x00\x00\x0
ok finally im able to do the full scan procedure manually
import usb
dev = usb.core.find(idVendor=0x05ca, idProduct=0x0042c)
dev.write(0x3,"\x03\x09\x01"); dev.read(0x85,100);
dev.write(0x3,"\x03\x0D\x0B"); dev.read(0x85,100);
dev.write(0x3,"\x03\x0C\x11\x00\x00\x00\x02\x02\x05\xFF\x00\x00\x00\x0
after take a better look in the windows xp sniffer, it seems that the last
sequence who give me a timeout error is a repeating "data received
completed" after scanner send multiple sequences of 61440 bytes
<<< array of raw data 61440 bytes
>>> 03 0e 04 00 00 00 00 f0
<<< array of raw data 61440 by
here is the grayscale a4 preview (same than b/w a4 preview)
>>> dev.write(0x3,"\x03\x09\x01"); dev.read(0x85,100)
<<>> dev.write(0x3,"\x03\x0D\x0B"); dev.read(0x85,100)
<<>> 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
my current experimentation is usb sniffing under windows xp during a color a4
scan preview
i try to report the values i found in linux py2usb and read the scanner
response
>>> dev.write(0x3,"\x03\x09\x01"); dev.read(0x85,100)3
<<>> dev.write(0x3,"\x03\x0D\x0B"); dev.read(0x85,100)3
<<>> dev.write
i dunno if its good, but i tested this:
enabled all in dll.conf
added "device auto" in all .conf file
here's the new result of scanimage -L
[gphoto2] init_gphoto2: error: serial:/dev/ttyd1 is not a valid gphoto2
port. Use "gphoto2 --list-ports" for list.
[epsonds] unable to parse config line: de
after some investigation i found i was able to do that
but my knowelge about usb commincation is zero
i will need some help to continue to investigate this printer
satellite@satellite-Satellite-P200-1BY:~$ sudo python
>>> import usb
>>> dev = usb.core.find(idVendor=0x05ca, idProduct=0x042c)
>>> pr
this printer/scanner model is not supported, so i give you the informations i
have about it
and my tests after compiling latest version of backends
lsusb gives :
Bus 002 Device 111: ID 05ca:042c Ricoh Co., Ltd
sudo sane find scanner gives :
found USB scanner (vendor=0x05ca [RICOH], product=0x042
11 matches
Mail list logo