Contact us


All times are UTC - 8 hours



   [ 2 posts ] 
Author Message
   


Joined: Mon Mar 09, 2015 12:22 am
Posts: 1
Hello,

I am getting an issue with the DynamicWebTwain plug-in. A customer in UK found that they scan the image comes in cut in half and upside-down.

They are using IE11 (or newer), and also a HP Scanjet 5590 scanner, also scanning an A4 page which might factor in.

We are using the Dynamic Web TWAIN 10.1.1., running the plug-in with the most basic default code:

if (DWObject) {

if (DWObject.SourceCount > 0) {

var vDWTSource = document.getElementById("source");

if (vDWTSource) {

if (vDWTSource)

DWObject.SelectSourceByIndex(vDWTSource.selectedIndex);

else

DWObject.SelectSource();

}



DWObject.OpenSource();

DWObject.IfAutomaticBorderDetection = false; // I added this to see if forcing it would help

DWObject.PageSize = 1; // I added this to see if forcing it to A4 would help

DWObject.AcquireImage();



}

The scanners and computers I¡¯m using work just great, proper size and orientation. I also have set a scanner to A4 and that scans just fine.

Please let me know if you have any ideas on how to fix this.

Let me see whether you need any extra information.


User avatar
   


Joined: Tue Mar 08, 2005 12:23 am
Posts: 1706
Can you please try the code below to see if it works with HP Scanjet 5590?

DWObject.SelectSource();
DWObject.CloseSource();
DWObject.OpenSource();
DWObject.AcquireImage();

Because we don't set IfAutomaticBorderDetection and PageSize in our demo, and you mentioned that it works fine in our demo. So I suspect that the cause is due to these 2 settings.

Please let me know how it works.

_________________
Vincy
Dynamsoft Support Team
Follow us@Twitter, Facebook


Display posts from previous:  Sort by  
   [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


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:
cron
Copyright © 2018 Dynamsoft | All Rights Reserved
dynamic designed by Dynamsoft team
Fatal: Not able to open ./cache/data_global.php