Automatic Page Size/Crop?

Questions, comments and suggestions concerning VintaSoft Twain .NET SDK.

Moderator: Alex

Post Reply
ddrew_bolt
Posts: 3
Joined: Wed Oct 12, 2011 9:38 pm

Automatic Page Size/Crop?

Post by ddrew_bolt »

Hello,

I have a Kodak i1220 ADF scanner, which is reported to be TWAIN 2.0 compliant, However when attempting to use PageAutoSize, the scanner returns capability not supported, am I missing something? Here is the relevant code snippet.

Code: Select all

'_device has previously been opened and initialized

If Combo_pagesize.SelectedIndex = 0 AndAlso _device.Info.IsTwain2Compatible = True Then 'automatic selected and device 2.0 compliant
            
                _device.PageAutoSize = PageAutoSize.Auto
            End If
Alex
Site Admin
Posts: 2303
Joined: Thu Jul 10, 2008 2:21 pm

Re: Automatic Page Size/Crop?

Post by Alex »

Hello Derek,

First, make sure you use TWAIN driver for your scanner.

Second, make sure you use the latest TWAIN driver of the scanner.

Next, get a list of capabilities supported by the scanner and make sure the PageAutoSize capability is supported by the scanner. You can get a list of capabilities supported by the scanner in our TwainAdvancedDemo - run the demo, select the scanner, press the "Get source info" button.

Best regards, Alexander
ddrew_bolt
Posts: 3
Joined: Wed Oct 12, 2011 9:38 pm

Re: Automatic Page Size/Crop?

Post by ddrew_bolt »

I don't see it listed (PageAutoSize) when running the Info check on the scanner itself.
The only ones that seem like they may apply are
AutoFeed
AutoScan
PaperDetectable
AutobroderDetection

When running Kodak's TWAIN GUI for the 1220 scanner, it has an option of "Automatically Detect" for page size.

if the scanner * TWAIN driver supports a feature does that mean it should be available through your SDK?
Alex
Site Admin
Posts: 2303
Joined: Thu Jul 10, 2008 2:21 pm

Re: Automatic Page Size/Crop?

Post by Alex »

Hello Derek,

You need to use the AutomaticBorderDetection capability.

Best regards, Alexander
Post Reply