[sane-devel] ScanJet 2400 supported

stef stef.dev at free.fr
Tue Jan 5 12:07:22 UTC 2010


Le mardi 5 janvier 2010 09:08:21 Josu Lazkano, vous avez écrit :
> I have a HP2400, I can try the code. But I have not a lot of idea how to
>  do.
> 
> Thanks for all.
> 

	Hello,

	the current status of the backend regarding the HP2400 is that 100 dpi scan 
is about to work. However the  announced width of the data isn't the real one 
used by the scanner. And there is also a miscalculation of the x coordinates.

	To work this out, you'll have first to set up a the source code tree with git 
(see http://www.sane-project.org/cvs.html ). When debugging, I use the locally 
built libraries without installing them system wide with :

#!/bin/bash
export SANE_DEBUG_GENESYS=255
export SANE_DEBUG_GENESYS_GL646=255
export LD_PRELOAD=.libs/libsane-genesys.so
../frontend/scanimage -d genesys --resolution 100 --mode Color >hp2400-100dpi-
scan.pnm 2>hp2400-100dpi-scan.log

	This will run a 100 dpi color mode test scan. This as to be executed in the 
backend sub directory to work.

	Then you'll have to compare the debug log and files with a reference scan 
made with the windows driver, and recorded with usbsnoop. You can get it at 
http://www.pcausa.com/Utilities/UsbSnoop/default.htm . I process the raw logs 
with the appended scripts to turn them into something readable. Just run 
'decode.sh logfile' to get a processed 'logfile.decode' .

	This just a starting point, don't hesitate to ask for more information.
	
Regards,
	Stef
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scripts.tar.gz
Type: application/x-compressed-tar
Size: 13924 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20100105/a2222787/attachment.bin>


More information about the sane-devel mailing list