[sane-devel] Device Enemuratuion fails Please help
sidd gautam
siddharth_pnb at hotmail.com
Wed Dec 3 05:44:02 UTC 2008
Hi Sir,
I am unable to Enemurate the device.
My device is Hp Scan 4370.
Every time I get std::cerr << "> CSaneWrapper1::EnumerateDevices() fails\n";
Please let me know what mistake I have commited.
My OS is Fedora 8.0.
I have installed libsane-hpaio-2.7.7-6.fc8.i386.rpm,sane-backends-1.0.19-10.fc9.i386.rpm. Is there anything I am missing.
bool CSaneWrapper1::EnumerateDevices(){
SANE_Status statusCode; statusCode = sane_get_devices(&_device_list, SANE_TRUE);
if( statusCode != SANE_STATUS_GOOD ) { std::cerr << " CSaneWrapper1::EnumerateDevices() fails\n"; return false; } else { int i; for( i = 0; _device_list[i] != NULL; i++ ); { _devicecount = i; } std::cerr << " CSaneWrapper1::EnumerateDevices() ELSE Success> \n";
} return true; }
Thanks in Advance. Sidd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20081203/a8f31d49/attachment.htm
More information about the sane-devel
mailing list