LEADTOOLS Support
Imaging
Imaging SDK Questions
Re: When should set the TWAIN capability again?
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, January 3, 2007 12:53:46 AM(UTC)
Groups: Registered
Posts: 30
Hi,
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,
Raymond
#2
Posted
:
Thursday, January 4, 2007 4:08:36 PM(UTC)
Groups: Registered
Posts: 30
Hi,
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.
Thanks,
Raymond
#3
Posted
:
Sunday, January 7, 2007 6:02:48 AM(UTC)
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
Hello,
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?
Thx,
Simon.
#5
Posted
:
Tuesday, April 24, 2007 5:38:22 AM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
Was thanked: 1 time(s) in 1 post(s)
Simon,
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.
Thanks,
Maen Badwan
LEADTOOLS Technical Support
LEADTOOLS Support
Imaging
Imaging SDK Questions
Re: When should set the TWAIN capability again?
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.