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
 Scanning only one page with the ADF
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

pssien

10 Posts

Posted - May 14 2015 :  02:06:07  Show Profile  Reply
Using Delphi XE7 and ImageEn 6.0
Scanner model is Brother MFC 490-CW multifunction printer using the Lan connection.
Following instructions and code from other posts, I assembled this routine to scan only one page of several from the ADF feeder:

    ImageEnMView1.MIO.TwainParams.FeederEnabled := True;
    ImageEnMView1.MIO.TwainParams.AutoFeed := False;
    ImageEnMView1.MIO.TwainParams.AcceptedImages := 1;
    ImageEnMView1.MIO.TwainParams.AutoScan := False;
    ImageEnMView1.MIO.TwainParams.ProgressIndicators := False;
    ImageEnMView1.MIO.TwainParams.VisibleDialog := False;
    ImageEnMView1.MIO.Acquire;


It does the work, and only one page is scanned, but I see that all the pages in the feeder are loaded without scanning.
I do not know if this is a Brother driver issue or I need some other parameter in the ImageEnMView1.

xequte

38514 Posts

Posted - May 14 2015 :  16:07:29  Show Profile  Reply
Hi

It may be a quirk with the printer. You'll need to toggle all the TwainParams to see if the behaviour can be advoided (though then, of course, it may be different with the next printer).


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: