TWAIN ActiveX Control, Plug-in, Scanner SDK, Component, HTTP Control/SDK

Dynamsoft TWAIN Products

Support Community for TWAIN Control/Component/SDK for Scanning Solutions
* Login   * Register
* FAQ    * Search

It is currently Tue Sep 07, 2010 4:01 pm




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: ADF and Multi Page Scanning
PostPosted: Thu Mar 04, 2010 4:21 am 
Offline

Joined: Thu Mar 04, 2010 4:01 am
Posts: 2
Hi,

I'm using Dynamsoft Web Twain ActiveX version 5.1.1 on a web application. Trying to use ADF and scan multiple pages at once. Everything seems working with "Kodak i55" and "HP Office Jet J4580 ALL-in-One" scanners but there is a problem with "Cannon P-150" model. It gets all document pages from ADF and scans all of them however, component displays only the first page.

When try the scanner (Cannon) on your Demo page (version 5.2) and works perfectly. Is this a version issue?

Here is the code (Javascript) that I use:

function AcquireImage() {
var i;
try {

with (document.all) {
frmScan.DynamicWebTwain1.SelectSourceByIndex(source.selectedIndex);
frmScan.DynamicWebTwain1.IfShowUI = ShowUI.checked;

frmScan.DynamicWebTwain1.SelectSource();
frmScan.DynamicWebTwain1.OpenSource();

frmScan.DynamicWebTwain1.PixelType = 1; //0:Black-White, 1:Gray scale 2:RGB image
frmScan.DynamicWebTwain1.Resolution = 200; //Image resolution

frmScan.DynamicWebTwain1.IfDisableSourceAfterAcquire = true;

if (ADF.checked) {
frmScan.DynamicWebTwain1.XferCount = -1;
frmScan.DynamicWebTwain1.IfAutoFeed = true;
frmScan.DynamicWebTwain1.IfFeederEnabled = true;
}

frmScan.DynamicWebTwain1.AcquireImage();

}
}
catch (err) {
alert("hata oluştu");
}
}


Top
 Profile  
 
 Post subject: Re: ADF and Multi Page Scanning
PostPosted: Thu Mar 04, 2010 9:17 pm 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 839
Hi yilmazumit,

It is not a version case. For information on why you only get the first page into the control, please refer to:
http://kb.dynamsoft.com/questions/87/Wh ... ugh+ADF%3F

Also, if you want to scan multiple images into the control, you need to set the value of MaxImagesInBuffer to the maximum number of images that can be held in buffer. For more info, please refer to:
http://www.dynamsoft.com/help/TWAIN/Web ... Buffer.htm

If the problem persists, you can contact our support team via LiveHelp to have a GoToMeeting session.
http://www.dynamsoft.com/support/livehelp.aspx

Thanks.

_________________
Catherine Sea
TWAIN Support Team
http://www.dynamsoft.com/
TWAIN ActiveX/Plug-in for Web Applications, Scanner COM Control
TWAIN .NET Component/SDK for Desktop Applications


Top
 Profile  
 
 Post subject: Re: ADF and Multi Page Scanning
PostPosted: Fri Mar 05, 2010 4:25 am 
Offline

Joined: Thu Mar 04, 2010 4:01 am
Posts: 2
Thank you for great support! Web pages you recommended helped a lot and we solved the problem.


Top
 Profile  
 
 Post subject: Re: ADF and Multi Page Scanning
PostPosted: Fri Mar 05, 2010 8:57 am 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 839
:D

_________________
Catherine Sea
TWAIN Support Team
http://www.dynamsoft.com/
TWAIN ActiveX/Plug-in for Web Applications, Scanner COM Control
TWAIN .NET Component/SDK for Desktop Applications


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

It is currently Tue Sep 07, 2010 4:01 pm


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Version Control Software/System | Source Control Software/System | Software Configuration Management | SCM Hosting | Bug Tracking System | Scanner COM
SourceSafe (VSS) Replacement/Alternative | SourceSafe (VSS) Hosting | SourceSafe (VSS) Remote/Web/Internet Access | SourceSafe (VSS) Tutorial
Copyright © 2010 Dynamsoft Corporation. All Rights Reserved. | Knowledge Base | Source Control Blog