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
 Unstable Scanner Selection!

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
ImageEnSA Posted - Sep 19 2019 : 15:30:01
I'm using Fujitsu fi-7160 scanner and it has a professional software. When I use the below code, its call the Fujitsu software. However, in some times, it calls windows scanner software and it causes my software to hangs !! I don't want that

Is there any way to make sure it calls the Fujitsu manufactural software?
Please help








procedure TScannerF.Button4Click(Sender: TObject);
var
  AcquireApis : TIEAcquireApis;

begin
  if ImageEnMView1.MIO.AcquireParams.SelectedSource.API = ieaNone then
  begin
      AcquireApis := [];
  if chkTwain.checked then
    Include( AcquireApis, ieaTwain );
  if chkWIA.checked then
    Include( AcquireApis, ieaWIA );
  if chkDCIM.checked then
    Include( AcquireApis, ieaDCIM );

  if AcquireApis = [] then
    messagedlg( 'You havent select scanner', mtInformation, [mbOK], 0 )
  else
  begin
    ImageEnMView1.MIO.SelectAcquireSource( AcquireApis );
    UpdateControlStatus( True );
  end;

  end;

  if (cmbColors.Enabled ) and
     ( not ImageEnMView1.MIO.AcquireParams.IsPixelTypeSupported( TIEAcquirePixelType( cmbColors.ItemIndex ))) then
  begin
    MessageDlg( 'The selected color is not supported by your device.', mtError, [mbOK], 0 );
    exit;
  end;

  fAborted := False;
  btnAbort.Enabled := True;
  btnAbort.Visible := True;
  btnAcquire.Enabled := False;
  try
    Screen.Cursor := crHourglass;
   // ImageEnMView1.Clear;
    SaveProperties;
    ImageEnMView1.MIO.Acquire;
  finally
    btnAbort.Visible := False;
    btnAcquire.Enabled := True;
    Screen.Cursor := crDefault;
  end;
  ProgressBar1.Position := 0;
end;
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Sep 19 2019 : 18:21:40
Hi

This is not something that can be controlled from within ImageEn. Is there any pattern to when you get the Windows vs the Fujitsu dialog?

Nigel
Xequte Software
www.imageen.com