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
 [Scanner] How to... ?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Valery

10 Posts

Posted - Nov 22 2013 :  11:26:38  Show Profile  Reply
1.How to handle scan errors? I dont realy have ADF, but paper can jam during scan (if i had ADF). Can ImageEn handle it? What will happen with data already been scanned ?

2.How to avoid application "hang", during scanner initialization ?
When using WIA-based scan, scanner needs to be initialized or so.
"Windows Scanner and Camera Wizard" showing "Waiting for scanner to respond" in this case. Is it possible to show same message ?


3. How to get list of WIA scanners only ? i.e. excluding WIA cameras ? And vice versa?

Thanks for any help.

fab

1310 Posts

Posted - Jan 04 2014 :  06:07:18  Show Profile  Reply
1. Acquire method returns False on fail. You can read last error using ImageEnView.IO.TwainParams.LastError (and LastErrorStr).
Pages already scanned are acquired. You can remove them of course.

2. If you don't disable scanner dialogs, the waiting message should be displayed.

3. ImageEnView.IO.SelectAcquireSource([ieaWIA]). Please look at examples for more details.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: