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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Scanning only one page with the ADF

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
pssien Posted - May 14 2015 : 02:06:07
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.

1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - May 14 2015 : 16:07:29
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