Home › Forums › TWAIN Classic › Maximum page length – set programmatically
- This topic has 1 reply, 2 voices, and was last updated 7 years, 9 months ago by MarkM.
- AuthorPosts
Hi,
I am currently writing an application that would be set up several parameters (resolution, duplex, page size, etc.) on the scanner KODAK Scan Station 730EX (kds_i2000) and acquire the images.
I encountered a problem when I want to scan a document in the dimensions of 4 “x 17″ (while the scanner is set to the maximum length to 16″). When this parameter change manually by calling the Data Source GUI for at least 17” if everything is OK.
Is it possible programmatically the change of the parameter responsible for the maximum page length, using TWAINCSToolkit.dll?
Thanks for help
Yes, check the following Kodak Alaris custom capability (found in the kdscust.h file that came with your CD)
// ICAP_PHYSICALHEIGHTADJUST
// Family: Blaze, Falcon, Panther, Piranha2, Saturn
// Type: TWTY_FIX32
// Container: Range
// Allowed: Scanner specific
// Default: Scanner specific
// Notes: Adjusts the value of ICAP_PHYSICALHEIGHT. Applications must
// set this value to have access to the full scan length of the
// ADF.
#define ICAP_PHYSICALHEIGHTADJUST 0x8101- AuthorPosts