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
 acquire images from scanner

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

Format  BoldItalicizedUnderline Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailBrowse for an image to attach to your post Browse for a zip to attach to your post Insert CodeInsert QuoteInsert List


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
LeoFong Posted - Aug 28 2019 : 06:17:53

I try as below to acquire images from scanner (Koda3400,sequential scans for 200 pages). It works well, also can catch the error like 'paper jam'.

If ImageEnMView1.MIO.Acquire = false then showmessage('Paper Jam');

How can I know it is completed by 'scan finished' or 'scan cancelled by user'? Since the value returned is only TRUE or FALSE, and TRUE means both of 'scan finished' and 'scan canceled by user'.


1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Aug 29 2019 : 23:17:29

You would need to check whether an image has been acquired, e.g. by setting a value in OnAcquireBitmap, or comparing ImageEnMView1.ImageCount.

Xequte Software