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
 Questions about scanning

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
Stalker4 Posted - Aug 02 2013 : 07:49:58
Hi All,

1) Scanning with multiple pages TImageEnMView.MIO

There Scanner (Sheetfed Scanner AV176U, although I think the type of scanner is not important), in
which can lay several sheets, and then calling
ImageEnMView.MIO.Acquire scan them all.

Question: How do you say ImageEnMView, I do not want to scan all sheets and
Only XX sheets?
In aid that is not found such a property.

2) How to check before going to the properties TwainParams, that the twain-scanner
off or non existent?
The property TwainParams.LastError not fit because it does not show
correct error code.
For example, after a call or TwainParams.Update time a property
TwainParams.DuplexSupported, property LastError constantly returns 1
regardless of whether the scanner is turned off or not.

3) Executes the code:
with ListImageEnMView.MIO.TwainParams do
   for nCou := 0 to SourceCount - 1 do
     ScannerStComboBox.Items.Add(SourceName[nCou]);
As a result, ScannerStComboBox.Items not only is TWAIN-source
(AV176U), but WIA-source (WIA-AV176U).

Why is this happening? How do I get only the TWAIN-sources?
1   L A T E S T    R E P L I E S    (Newest First)
fab Posted - Sep 06 2013 : 00:03:16
Hi,

quote:
1) Scanning with multiple pages TImageEnMView.MIO


please try ImageEnMView.MIO.TwainParams.AcceptedImages := ...number_of_images...

then call Acquire.

quote:
2) How to check before going to the properties TwainParams, that the twain-scanner


I'm sorry, this is not possible with Twain and ImageEn.

quote:
3) Executes the code:


Each Twain driver has a WIA wrapper (seen as Twain device), so ImageEn sees both. The unique way to avoid this is to filter out all devices with the "WIA" string inside.