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
 Scan multi pages

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
michel.dev@free.fr Posted - Jun 21 2011 : 10:27:54
I try with ImageEn v 3.1.2 to scan multi pages form scanner HP Officejet J5700 but I got only the first page in the ImageEnMView and when I save to TIFF it just contains the first page too. Here is my code

...
vMIO: TImageEnMIO;
ImageEnMView1: TImageEnMView;
...
if vMIO.SelectAcquireSource() then
begin
  vMIO.TWainParams.SetDefaultParams();

  if vMIO.Acquire() then
  begin
    SetForegroundWindow(Self.Handle);
    vMIO.SaveToFileTIFF(ChangeFileExt(ParamStr(0), '.tif'));
    ShowMessage('OK');
  end;
end;


Thanks for your help
1   L A T E S T    R E P L I E S    (Newest First)
fab Posted - Jun 21 2011 : 13:45:02
Please try the demo at "multipage\multi", and click on Scanner->Acquire Pages.
It acquire multiple pages executing:


ImageEnMView1.MIO.TWainParams.FeederEnabled := true;
    ImageEnMView1.MIO.TWainParams.AutoFeed := true;
    ImageEnMView1.MIO.TWainParams.DuplexEnabled := false;
    ImageEnMView1.MIO.Acquire(ieaTWain);


Note that you don't need to create TImageEnMIO, because it is already embedded in TImageEnMView (MIO property).