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



Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, January 3, 2007 12:53:46 AM(UTC)
Raymond Lee

Groups: Registered
Posts: 30


If I do not call the TwainSession.Shutdown(), then is it not necessary to set the TWAIN capability settings until TwainSession.Startup() is called? (or new another TwainSession? which one?)

Thanks for your kind attention,



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 4, 2007 4:08:36 PM(UTC)
Raymond Lee

Groups: Registered
Posts: 30


It seems that if a new TwainSession is created (by new TwainSessiona and Startup), then the capabilities must be set it again as the SetCapability() is the class method of TwainSession. This principle should be applied to .NET as well, right?

Please let me know if I am correct or not.


#3 Posted : Sunday, January 7, 2007 6:02:48 AM(UTC)

Qasem Lubani  

Groups: Guests
Posts: 3,022

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

This depends on the Twain driver, as some of them
retain capability values, where others need you to set them every time you scan.

If your application is going to be used with
different types of scanners, always set the capabilities to be on the safe side.

#4 Posted : Friday, April 20, 2007 4:26:35 AM(UTC)


Groups: Registered
Posts: 2


Is there a way to change the Twain capabilities during the same scan session?
Example : scan 5 documents in color and 5 documents in black n white in teh same twain session?

If not, is it possible to do it over isis driver?


#5 Posted : Tuesday, April 24, 2007 5:38:22 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

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


The Twain standard does not allow this to be done, unless you perform single-page scanning, check the image, change the capabilities, then perform another single-page scan and so on (multiple Acquire operations).

This means it's possible, but it will be slower than a single Acquire operation.

Maen Badwan
LEADTOOLS Technical Support
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-2023, Yet Another Forum.NET
This page was generated in 0.114 seconds.