[sane-devel] HP Scanjet 2400

Julien Salort divers at juliensalort.org
Wed Jun 16 20:08:18 UTC 2010


Le 16 juin 2010 à 20:23, Piotr Mis a écrit :

> git version is capable only of scanning 300 dpi grayscale correctly.  
> So try using: 
> scanimage --verbose --progress --resolution 300 --mode Gray
> 
> I made some very simple changes that allow to scan in 100 and 300 dpi
> both in grayscale and colour, and posted to this list on May 28th. You
> can give it a try.
> In the meantime got 50dpi working (thanks to stef's usb analysis
> scripts) to some extent as well, but it still needs some work. 

Hello,

Thanks for your answer.

I've downloaded the git version. It compiled fine out of the box although I got a warning in the configure phase:
checking IOKit/scsi/SCSITaskLib.h usability... no
checking IOKit/scsi/SCSITaskLib.h presence... yes
configure: WARNING: IOKit/scsi/SCSITaskLib.h: present but cannot be compiled
configure: WARNING: IOKit/scsi/SCSITaskLib.h:     check for missing prerequisite headers?
configure: WARNING: IOKit/scsi/SCSITaskLib.h: see the Autoconf documentation
configure: WARNING: IOKit/scsi/SCSITaskLib.h:     section "Present But Cannot Be Compiled"
configure: WARNING: IOKit/scsi/SCSITaskLib.h: proceeding with the preprocessor's result
configure: WARNING: IOKit/scsi/SCSITaskLib.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------------- ##
configure: WARNING:     ## Report this to sane-devel at lists.alioth.debian.org ##
configure: WARNING:     ## ------------------------------------------------- ##

Now, indeed, grayscale scanning works fine from command line.

% scanimage -V
scanimage (sane-backends) 1.0.22git; backend version 1.0.22

% scanimage -L
device `genesys:libusb:002:002-03f0-0a01-ff-ff' is a Hewlett Packard ScanJet 2400c flatbed scanner

% scanimage --verbose --progress --resolution 300 --mode Gray >image2.pnm
[genesys] WARNING: Your scanner is not fully supported or at least 
[genesys]          had only limited testing. Please be careful and 
[genesys]          report any failure/success to 
[genesys]          sane-devel at lists.alioth.debian.org. Please provide as many
[genesys]          details as possible, e.g. the exact name of your
[genesys]          scanner and what does (not) work.
scanimage: scanning image of size 2549x3510 pixels at 8 bits/pixel
scanimage: acquiring gray frame
scanimage: min/max graylevel value = 0/255
scanimage: read 8946990 bytes in total

However :

1/ Color scanning gives strange results
2/ The scanner makes an unusual noise at the beginning of the scan
3/ I still have to figure out how to use this to make the scanner appear in Mac OS X built-in "Image Capture" application

Bests,

Julien




More information about the sane-devel mailing list