<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi,<br><br>I have written the code for Enumerating Hp 5590 the call is <br><br>bool CSaneWrapper::EnumerateDevices()<br>{<br> SANE_Status statusCode;<br> statusCode = sane_get_devices(&_device_list, SANE_TRUE);<br> if( statusCode != SANE_STATUS_GOOD )<br> {<br> return false;<br> }<br> else<br> {<br> int i;<br> for( i = 0; _device_list[i] != NULL; i++ );<br> {<br> _devicecount = i;<br> }<br> }<br> <br> return true;<br>}<br><br>The same code works fine with HP-4370 but fails for 5590 Shall I need to copy some of the .c file in u<b>sr\incude\sane directory ?<br><br>I am able to scan image from Terminal when I type the command ScanImage.<br><br>Thanks<br></b><br><br><br /><hr />Akshay Kumar takes on the two reigning Bollywood Khans. Catch the action on MSN Entertainment! <a href='http://entertainment.in.msn.com' target='_new'>Check it out!</a></body>
</html>