ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Brother Scanner Abort during scan does not work
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Ralf

110 Posts

Posted - Jan 30 2017 :  03:39:20  Show Profile  Reply
Hallo,

I have a Problem Scanning from a Brother Scanner ADS-2400N via Twain. When i don't put in a paper the scanner give's me a Information, that there isn't a paper in ADF. When I say, that i don't want to try again the scan Prozess isn't stopped. It always try again. I attached a screenshot.



When i try the same with my Fujitsu Scanner i can stopp the scanning.

I tried with Corel Photo-Paint the same. Here the Scanning stopped.

Now the question for me is where is the error. In the Twaindriver from Brother or in Imageen.

Thanks

Ralf

P.S.: I also tried with Allacquire Demo with the same result.

Ralf

110 Posts

Posted - Jan 31 2017 :  03:28:28  Show Profile  Reply
Hi Nigel,

it seems at the moment to me, that it is not an error of the scanner twain interface.

It is not a temp. problem. i can reproduce it as often i want.

What i do is to try scanning without Paper in the ADF. I then become a Info, that there is no paper in the ADF. I now answer the question "Do you want to try again" with no. Normally the scan must be stopped. Imageen doesn't do that.

I have tried to find the error, Here are my way down from IETW_XferReadyMulti down to IETW_DS.

procedure IETW_XferReadyMulti(var grec: tgrec; pmsg: PMSG);
...
  if not ImageInfo or fAborting then

function ImageInfo(): boolean;
...
  if not IETW_DS(grec, DG_IMAGE, DAT_IMAGEINFO, MSG_GET, TW_MEMREF(@twImageInfo)) then

function IETW_DS(var grec: tgrec; dg: TW_UINT32; dat: TW_UINT16; msg: TW_UINT16; pd: TW_MEMREF): boolean;
...  
  rc := DSM_Entry(@AppId, @SourceId, dg, dat, msg, pd);

The result of DSM_Entry is 0 (success). in my opinion this is not correct. There is no way to stopp the scanning.

In the procedure IETW_XferReadyMulti later on you recognize that something is wrong because you go inside the else of the if IETW_DS. But the scanning is still not aborted

  if IETW_DS(grec, DG_IMAGE, DAT_IMAGEMEMXFER, MSG_GET, @imxfer) then
    LogWrite('  IETW_XferReadyMulti : DAT_IMAGEMEMXFER Ok')
  else
    LogWrite('  IETW_XferReadyMulti : DAT_IMAGEMEMXFER FAILED! (image terminated?)');

I am also in contact with the Brother support for dealers. I tried the same with Corel PhotoPaint and i can stopp the scanning.

How can we solve the problem.

Do you want to send me a Testprogramm?

Thanks

Ralf
Go to Top of Page

xequte

38128 Posts

Posted - Feb 01 2017 :  15:30:04  Show Profile  Reply
Hi Ralf

We tested this on a Brother ADS-2100e, but could not reproduce the issue.

However for the next update, we will add checks for the condition codes: TWCC_NOMEDIA, TWCC_PAPERDOUBLEFEED and TWCC_PAPERJAM. We expect then scanner returns one of these to interrupt scanning.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

Ralf

110 Posts

Posted - Feb 02 2017 :  02:46:06  Show Profile  Reply
Hi Nigel,

ok then i whait for this update.

Have you tried with the newest driver for the scanner? We had in the last 6-12 Months recognized changes in the driver. With our old imaging component the new drivers doesn't work longer. Maybe the problem is only in the new version.

When will be the new update release?

Thanks
Ralf
Go to Top of Page

fabian

3 Posts

Posted - Feb 06 2017 :  16:14:43  Show Profile  Reply
Hi Nigel,

We experience a similar issue (using a Brother ADS 2100 (without e) via TWAIN interface):
In case, we – accidentally - start scanning without paper in feeder, we end in an infinite loop (after an error message with says “No paper in feeder”).

In this situation, we must terminate our application using Task manager.

We can reproduce this with your (precompiled) demos and with our application.

Do you think, the update will fix this?

Is maybe a hotfix available (it's a bit urgent)?

Thank you!

Fabian

(P.s.: I sent three mails to support@xequte.com in last weeks – without any response… a technical problem? (I sent these mails from the mail address I use in this forum)).
Go to Top of Page

xequte

38128 Posts

Posted - Feb 06 2017 :  22:48:55  Show Profile  Reply
Hi

If you haven't received responses to support@xequte.com, then please check your spam folder (we always reply). Otherwise let me know your last name and I will look it up.

If you email me I can probably give you the needed changes to test on your system.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

Ralf

110 Posts

Posted - Feb 07 2017 :  02:44:28  Show Profile  Reply
Hi Nigel, Hi Fabian,
in our case we had also problems to get emails from your Forum. The emails was blocked by our security while receiving them and wasn't inside the spam folder.

Maybe it is by Fabian the same problem. An check_helo_access of the sender normaly give back a Domainname in case of your Emailserver it comes "WIN_3TOJG5JC5BB". If this is the problem by Fabian only a white listing may help.

Regards

Ralf
Go to Top of Page

fabian

3 Posts

Posted - Feb 07 2017 :  12:39:17  Show Profile  Reply
Hi Nigel,
After checking all filters, spam folder and similar: no response. Seems like there is a filter/problem on your side.
I recently send you a mail using another mail account.

Hi Ralf,
In my case, there is no problem with notifications from this forum. I have a problem with support mail address (support@xequte.com).

Thank you anyway.


Best Regards,

Fabian
Go to Top of Page

xequte

38128 Posts

Posted - Feb 07 2017 :  12:59:56  Show Profile  Reply
I have not received any emails from a "Fabian" today.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

Ralf

110 Posts

Posted - Feb 08 2017 :  01:53:02  Show Profile  Reply
Hi Nigel,
have you any idear how we can solve the Brother problem?
Thanks
Ralf
Go to Top of Page

fabian

3 Posts

Posted - Feb 08 2017 :  15:29:09  Show Profile  Reply
Hi Nigel,

Today (and yesterday) I sent multiple mails (with and without attachment), from different mail- accounts (different providers) and different computers to support@xequte.com and to nigel@xequte.com (without any error messages from mail server).

I also send a “download link for latest release”- request using your webform.

Cause I have not received any response (checked spam folders too), I think you have not received any of them? Look for mails from "Fabian N." or similar.

I don’t have any further idea what could be wrong on my side or what I could check.

Could you provide us the required changes via forum? or send them to the mail address I use in this forum (same as used for last registration extension)?

Fabian
Go to Top of Page

xequte

38128 Posts

Posted - Feb 09 2017 :  20:09:07  Show Profile  Reply
@Fabian:

I have received your latest message and sent the changes to imscan.pas

@Ralf:

You might want to test these changes too.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

Ralf

110 Posts

Posted - Feb 20 2017 :  04:53:23  Show Profile  Reply
Hi Nigel,

if you send me the changes too i can make a test.

Thanks

Ralf
Go to Top of Page

xequte

38128 Posts

Posted - Feb 22 2017 :  14:52:53  Show Profile  Reply
Hi Ralf,

I've emailed it to you.




Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: