Device Enemuration fails

Asked by Sandy

Hi,

I have written the code for Enumerating Hp 5590 the call is

bool CSaneWrapper::EnumerateDevices()
{
    SANE_Status statusCode;
    statusCode = sane_get_devices(&_device_list, SANE_TRUE);
    if( statusCode != SANE_STATUS_GOOD )
    {
        return false;
    }
    else
    {
        int i;
        for( i = 0; _device_list[i] != NULL; i++ );
        {
            _devicecount = i;
        }
    }

    return true;
}

The same code works fine with HP-4370 but fails for 5590 Shall I need to copy some of the .c file in usr\incude\sane directory ?

I am able to scan image from Terminal when I type the command ScanImage.

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#1

HPLIP does not support the HP ScanJet 5590.

Support for HP ScanJet devices are sometimes provided with the Sane Project.

http://www.sane-project.org/sane-mfgs.html#Z-HEWLETT-PACKARD

It looks like the ScanJet 5590 is supported..so in theory if you connect the device and run xsane it should work. As for your scipt here--we can't help with that sorry.

If you need more assistance with your ScanJet you could contact the sane-project for more information.

Sorry for the inconvenience.

Aaron

Can you help with this problem?

Provide an answer of your own, or ask Sandy for more information if necessary.

To post a message you must log in.