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
 twain question

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
pierrotsc Posted - Oct 29 2012 : 10:39:57
Is it possible to find out if a twain scanner is indeed connected or powered on before calling the acquire command?
Imageen finds the twain driver regardless if the scanner is indeed active.
I would like to be able to check its status before i try to acquire an image.

Thanks for any help.
P
4   L A T E S T    R E P L I E S    (Newest First)
pierrotsc Posted - Oct 30 2012 : 03:42:33
Not really. I have no clues on how to use windows api. I guess i was looking for a imageen command instead.
Thanks for the reply.
ehkhalid Posted - Oct 30 2012 : 01:37:14
Hi,
I think there are a way to find if scanner is power on and connected, by checking if scanner is in the list of connected sub device, you have to use windows api to get this list and then check if the name of your scanner is in the list or not.

Hope this help.
pierrotsc Posted - Oct 29 2012 : 12:46:26
That is what I thought.I wish there was a way to probe the scanner to find out if it is active. Oh well.
w2m Posted - Oct 29 2012 : 12:12:12
The first problem to solve is to determine if the Printer/Scanner is online. Unfortunately baised on web searches it appears that there is no way to do this unless a job has been sent to the printer before calling the function.

William Miller