Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, January 21, 2009 8:45:12 PM(UTC)

delemed  
delemed

Groups: Registered
Posts: 12


I'm trying to implement my own silent Twain-Interface for a Canon DR-2050C. I nearly got it, but if I change the "Feeder Settings" in the original Canon-Twain GUI from "Standard" to any of the two other possibilities and afterwards use my own GUI, a smaller Canon-GUI shows up if I scan with my own interface, which I try to avoid.

Does anyone of you have an idea, which capabilities I have to set to make "my" interface silent? I did already set the Indicater-Cap to false and start aquiring with the TwainUserInterfaceFlags.None Flag.

Thanks a lot for any hint!
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Thursday, January 22, 2009 6:36:49 AM(UTC)

tazbill  
tazbill

Groups: Registered
Posts: 2


We are using the DR-9080C, my code looks like the following:

this._twain = new TwainSession();

this._twain.Startup( this, string.Empty, string.Empty, string.Empty, string.Empty, TwainStartupFlags.None );

this._twain.SelectSource( ConfigurationManager.AppSettings["ScannerName"] );

this._twain.EnableDuplexScanning = true;

this._twain.MaximumTransferCount = Convert.ToInt32( ConfigurationManager.AppSettings["MaxImages"] );

this._twain.AcquirePage += new EventHandler<TwainAcquirePageEventArgs>( this.Twain_AcquirePage );

this._twain.Acquire( TwainUserInterfaceFlags.None );

this._twain.AcquirePage -= new EventHandler<TwainAcquirePageEventArgs>( this.Twain_AcquirePage );

And it doesn't show the dialog box for me.

 
#3 Posted : Thursday, January 22, 2009 6:49:14 AM(UTC)

Adam Boulad  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

The Twain specification has this paragraph:
=====================================
Note: Some Sources may display the UI even when ShowUI is set to FALSE. An application
can determine whether ShowUI can be set by interrogating the
CAP_UICONTROLLABLE capability.
=====================================

I suggest you check the value of CAP_UICONTROLLABLE to see if this is the case with your Twain driver. If it returns True, I recommend contacting the vendors of your scanner driver to see why they display it.
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.089 seconds.