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 » Wed Oct 12, 2011 10:12 pm

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
Thank you for your time and any assistance anyone can provide,
-Derek Drew
BOLT Document Management

Alex
Site Admin
Posts: 1445
Joined: Thu Jul 10, 2008 2:21 pm

Re: Automatic Page Size/Crop?

Post by Alex » Fri Oct 14, 2011 10:53 am

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 » Mon Oct 17, 2011 6:24 pm

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 manufacturers TWAIN driver supports a feature does that mean it should be available through your SDK?
Thank you for your time and any assistance anyone can provide,
-Derek Drew
BOLT Document Management

Alex
Site Admin
Posts: 1445
Joined: Thu Jul 10, 2008 2:21 pm

Re: Automatic Page Size/Crop?

Post by Alex » Tue Oct 18, 2011 8:41 am

Hello Derek,

You need to use the AutomaticBorderDetection capability.

Best regards, Alexander

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest