newsletter archives - May, 2004  

Volume 9. Issue 5.

What's Inside? New and Improved TWAIN Interface for Black Ice Imaging Toolkits

New Online Knowledge Base and Forum Launched!

Processing a Very Noisy Fax
Eicon Networks Diva Server supported by Fax C++/ActiveX
Printer Driver Tips

New and Improved TWAIN Interface for Black Ice Imaging Toolkits

Version 10.20 of the Black Ice Imaging Development Toolkits include a new and improved TWAIN Interface.  The new BITWAIN DLL and OCX provide developers with additional control over TWAIN compliant data sources.  

Callback functions replaced by messages

The new BiTwain interface sends events in each phase of scanning, enabling more flexible control for the application. The application will receive a message for each scanning event such as: PageFinished, ScanningDocumentFinished, ScanningError, FeederEmpty, etc. All of these messages can then be processed by the scanning application depending on the actual message received.

The Black Ice Imaging Development Toolkits contain new sample applications with full source code to demonstrate how to use the new messaging interface.

Hundreds of capabilities supported

The new BITWAIN controls now support all of the TWAIN 1.9 capabilities. The scanning application can retrieve the default values, retrieve the current values and can change the current setting to a specific desired value.

Some of the newly supported capabilities include:

  • CAP_AUTOFEED

  • CAP_DUPLEX CAP_FEEDERENABLED CAP_FEEDERLOADED ICAP_BITDEPTH

  • ICAP_XRESOLUTION CAP_YRESOLUTION

and there are many more capabilities available.

The BITWAIN controls can be used with scanner, digital cameras any additional devices with TWAIN support, to retrieve the images and other information from the device.

Acquiring images is greatly simplified! 

The new TWAIN sample applications demonstrates how to acquire an image in just a few steps. The developer simply has to set the capabilities that are desired, such as X and Y resolution and the scan area.  They can then call a single function to start the scanning. During the scanning, the BITWAIN control will notify the application for each phase of the scanning through window messages.

Selecting the Data Source

The TWAIN Data Source selection can now be set programmatically, without any user intervention. New features include retrieving and enumerating the available Data Sources and specifying one of the available Data Sources to be used as the current Data Source. 

[page 1]

Next

 
 © Black Ice Software, LLC 1989-2005   Contact Us: 603-673-1019 or Sales@BlackIce.com