[sane-devel] Device Enemuratuion fails Please help
m. allan noah
kitno455 at gmail.com
Wed Dec 3 12:53:11 UTC 2008
does scanimage -L find the scanner?
allan
2008/12/3 sidd gautam <siddharth_pnb at hotmail.com>:
> 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
>
>
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
> to sane-devel-request at lists.alioth.debian.org
>
--
"The truth is an offense, but not a sin"
More information about the sane-devel
mailing list