[sane-devel] typedef int SANE_Word, etc

2008-12-03 Thread Julien BLACHE
ABC wrote: Hi, > For example > >> > typedef int SANE_Word; > > It's is int forever on all platforms. And we already have int for that. Although that's true on all the platforms SANE runs now, it isn't true for all platforms. Be it for that type or another one. >> void *SANE_Handle is used to

[sane-devel] Device Enemuratuion fails Please help

2008-12-03 Thread sidd gautam
gt;> >> >> >> > 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"> >> >> >> >> >>> >>> > >>> >> --> >> "The truth is an offense, but not a sin"> >> > > > -- > "The > truth is an offense, but not a sin" -- next part -- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20081203/fa2e6d90/attachment-0001.htm

[sane-devel] Regarding No scanner identified on Fedora 8.0

2008-12-03 Thread JKD
On Wednesday 03 December 2008 14:13:32 sidd gautam wrote: > Hi , Thanks indeed. I typed this commad on Terminal and Message was: NO > SCANNER WERE IDENTIFIED. IF YOU WERE EXCEPTING SOMETHING DIFFERENT,check > the scanner is plugged in,turned on and detected by the > scan-finding-scanner tool. Then

[sane-devel] typedef int SANE_Word, etc

2008-12-03 Thread Alessandro Zummo
On Wed, 03 Dec 2008 21:20:58 +0100 Julien BLACHE wrote: > Alessandro Zummo wrote: > > Hi, > > > Now that we have ANSI C types for everything, > > it might be useful to switch. > > Firstly, that's ISO C, and secondly, in a version of the norm that > isn't supported by the standard compiler o

[sane-devel] typedef int SANE_Word, etc

2008-12-03 Thread Julien BLACHE
Alessandro Zummo wrote: Hi, > Now that we have ANSI C types for everything, > it might be useful to switch. Firstly, that's ISO C, and secondly, in a version of the norm that isn't supported by the standard compiler on some of the UNIX platforms supported by SANE. JB. -- Julien BLACHE

[sane-devel] typedef int SANE_Word, etc

2008-12-03 Thread Alessandro Zummo
On Wed, 3 Dec 2008 04:53:24 +0300 ABC wrote: > Btw, what the point of having these typedefs? > (Besides obscurity and advertising of course). > > > typedef unsigned char SANE_Byte; > > typedef int SANE_Word; > > typedef SANE_Word SANE_Bool; > > typedef SANE_Word SANE_Int; > > typedef char SA

[sane-devel] Device Enemuratuion fails Please help

2008-12-03 Thread sidd gautam
> } > >> > 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" > > > > > > > > -- > "The truth is an offense, but not a sin" -- next part -- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20081203/65b9339f/attachment.htm

[sane-devel] Regarding No scanner identified on Fedora 8.0

2008-12-03 Thread sidd gautam
://lists.alioth.debian.org/pipermail/sane-devel/attachments/20081203/54f4287c/attachment.htm

[sane-devel] Suicidal Child Process - SANE

2008-12-03 Thread Ian Harding
This is kind of odd % catch [exec scanimage] foo Terminated When I exec scanimage from inside AOLServer, it goes ahead and shuts down the server. I figured out that it happens when the scanner is on, and ready, but does not have a document in the ADF.

[sane-devel] Device Enemuratuion fails Please help

2008-12-03 Thread sidd gautam
-- next part -- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20081203/a8f31d49/attachment.htm

[sane-devel] Device Enemuratuion fails Please help

2008-12-03 Thread m. allan noah
it means the backend is being loaded, but it does not find the scanner. 1. Are you doing this as root? 2. Is the device id in /etc/sane.d/hp3900.conf allan On Wed, Dec 3, 2008 at 9:33 AM, sidd gautam wrote: > Hi allan, > > I did what you advised, the info inside error.log says > > [sanei_debug

[sane-devel] Device Enemuratuion fails Please help

2008-12-03 Thread m. allan noah
1. please dont change the subject of you replies, it breaks some threaded mail readers. 2. get a debug log: SANE_DEBUG_HP3900=4 scanimage -L 2>error.log and look in error.log for clues allan On Wed, Dec 3, 2008 at 8:10 AM, sidd gautam wrote: > Hi kitno455, > > Thanks indeed. > > I typed this

[sane-devel] Device Enemuratuion fails Please help

2008-12-03 Thread m. allan noah
does scanimage -L find the scanner? allan 2008/12/3 sidd gautam : > 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 Fe

[sane-devel] sanei_usb_claim_interface, sanei_usb_release_interface

2008-12-03 Thread ABC
Sorry for my curiosity. What is the point of having in sanei_usb these two functions? (Besides misuse of course.) Because, sanei_usb_open is already claiming correct interface after its opening, it is mandatory (for libusb). Plus, there is no way to know correct interface number to claim under s

[sane-devel] typedef int SANE_Word, etc

2008-12-03 Thread ABC
Btw, what the point of having these typedefs? (Besides obscurity and advertising of course). > typedef unsigned char SANE_Byte; > typedef int SANE_Word; > typedef SANE_Word SANE_Bool; > typedef SANE_Word SANE_Int; > typedef char SANE_Char; > typedef SANE_Char *SANE_String; > typedef const SANE

[sane-devel] LiDE 90

2008-12-03 Thread Pierre Willenbrock
guillaume.gastebois at free.fr schrieb: > Hello, > > I'm back with my LiDE 90. No more significant result since month. I don't > know where to find. > Just a little question. I see in windows snoop that inversion bit is set in > frontend, not in sane. > Is it possible that this inversion has an