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
 Can I sense feeder is loaded

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
Homer Posted - Dec 29 2021 : 17:03:02
I would like to react to there being paper in the document feeder or not. Is there a way to sense if the feeder is loaded?

It looks as if AcquireParams.FeederEnabled is the way. Is that correct? Or, is it AcquireParams.FeederLoaded, or some combination?
4   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jan 07 2022 : 01:03:40
Hi

I can't see anything wrong with that code. Possibly that scanner is returning an unexpected value?

Nigel
Xequte Software
www.imageen.com
Homer Posted - Jan 03 2022 : 18:45:19
I was hoping to be able to trap the absence of paper and give the user a message. If the documents are loaded, it would just proceed with the scan. This code tells me the feeder is empty even when the original is loaded. Is something like this possible, or does the test need to be in a loop, as in your example?


{If they selected Auto Feed, then see if the feeder is loaded.}
    if chkAutoFeed.Checked and  not frmMain.ImageEnMView1.MIO.AcquireParams.FeederLoaded then
    begin
      MessageBox(Application.Handle,
        pChar('Document Feeder is empty.'#13'Please load your original(s) facing '+
              'the proper direction.'),
        pChar('Warning'), MB_OK + MB_ICONWARNING);
      exit;
    end;
xequte Posted - Dec 30 2021 : 14:56:44
Yes, you can use FeederLoaded if the device supports it.

while ImageEnView1.IO.AcquireParams.FeederLoaded do
begin
  ImageEnView1.IO.Acquire;
  ImageEnView1.IO.SaveToFile('page'+inttostr(count)+'.jpg');
  Inc( count );
end;


Nigel
Xequte Software
www.imageen.com
Homer Posted - Dec 30 2021 : 02:16:54
I've tried AcquireParams.FeederEnabled, FeededLoaded, PaperDetected, and none seem to work with my HP Envy Photo 7855.