How to change the location or to rename the 'Resources' folder with Dynamic Web TWAIN
Scenario: For customers who are using Dynamic Web TWAIN 10 or above versions, to change the location of the 'Resources' folder, or to rename it, please following the steps below: Steps: Say the original Resources folder is at '../{Project Directory}/Resources', and you want to change it to '. ...
Dynamic Web TWAIN:How to Remotely Install Web TWAIN MSI on End-Users Machines
If you would like to pre-install Dynamic Web TWAIN on an end-users machine or group of end-users machines please use the following two steps for windows: Contact us at sales@dynamsoft.com and request a copy of the MSI files for the Dynamic Web TWAIN SDK. Please ensure that you attach any rele ...
Dynamic Web TWAIN: How to Pass MICR data
Dynamic Web TWAIN supports passing MICR data from your Scanner or MICR reader as long as the feature is enabled with your scanner. In order to get the magnetic data from your scanner: Read the value in Magtype and see which type of magnetic Data your scanner supports. Read the value of MagData ...
Dynamic Web TWAIN: How to show all scanners in a drop down list
Scenario: You would like to display all of the devices sources (scanners) in a drop down menu Solution: Add the following code segments to your scan page: In the <body> tags: <select size="1" id="source" style="position: relative; width: 220px;"></select> InĀ Dynamsoft_OnReady() ...
Dynamic Web TWAIN: Modifying or removing Loading bars / Icons
Scenario: You would like to remove or edit the following overlay that appears when scanning or loading WebTWAIN: Solution: During Scanning Operation: 1). Open dynamsoft.webtwain.install.js file 2). Comment out the following code and add your own customized code function OnWebTwainPreExecuteCa ...
Dynamic Web TWAIN: How to post to a non-action page
Scenario: You are scanning documents and would like to upload them to something that is not an action page (node, etc). Solution: In order to do this we will use one of the upload through post methods, pick the one that is most relevant to your case, in the sample below we will use HTTPUploadA ...
How to use a blank page as a separator with Dynamic Web TWAIN
Scenario: You are scanning in multiple documents with a blank page separating them and would like to save each set of documents separately. Solution: In order to do this we will scan in all the sheets, then use IsBlankImageExpress(index) to detect whether or not it is blank. If the sheet is bl ...
How to use mouse wheel to zoom in Dynamic Web TWAIN
Using Dynamic Web TWAIN is possible to zoom in and out on images that you have loaded into your application. In order to do so you must use external JavaScript event handlers. The following code snippets will show you how to use the mouse wheel to zoom in and out at increments. Dynamsoft_OnRe ...
Dynamic Web Twain Installation files and folders
When installing Dynamic Web TWAIN you may wonder where the files are installed on the developers machine as well as on the end users machine. This knowledge base article will help outline some of the main components. For Developers: When installing the trial version of Dynamic Web TWAIN you will ...
How to highlight selected area of an image
Scenario: There are occasions that customers want to highligh parts of the image. Dynamic Web TWAIN supports that feature with the help of OverlayRectangle method. Solution: Please check the online demo via the link below: Online demo for Highlight feature In the following paragraphs, we will ...
Is it possible you provide me with sample code of Dynamic Web TWAIN?
Yes, we provide sample code of Dynamic Web TWAIN in ASP, VB.NET, C#, PHP+Apache and JSP+Tomcat . Web application: If you need a Web application sample of Dynamic Web TWAIN, please click here to download samples. Desk top application: You can find these samples at "start -> All Programs -> ...
How to turn off DEP?
With DEP on, there may be some problem when using Dynamic Web TWAIN on Windows Vista/7/2008. And you can choose one of the following ways to turn off DEP: Option 1: Run Command Prompt as administrator. In the command prompt, type bcdedit.exe /set {current} nx AlwaysOff and press Enter. You sh ...
Why do I get 'Undefined' error message when using Dynamic Web TWAIN object?
Symptom: When you access the Dynamic Web TWAIN object, sometimes you get the object undefined message. Cause: Dynamic Web TWAIN (DWT) is called before it is fully initialized. Resolution: To solve this issue, please make sure Dynamic Web TWAIN finish the initiation when it is called. You can us ...
Have trouble in using Dynamic Web TWAIN 10.0 Chrome&Firefox Edition?
Since Chrome is going to stop supporting NPAPI technology by the end of this year. In Dynamic Web TWAIN 10.0, we developed Chrome&Firefox Edition as the replacement of the old Plug-in Edition. Although we have done plenty of test as possible as we can, there are still a very few of customers hav ...
Step by Step Setup Guide for Dynamic Web TWAIN/Dynamic Webcam SDK ActiveX in Visual Studio
This article applies to both Dynamic Web TWAIN and Dynamic Webcam SDK. If you are using Dynamic Webcam SDK, please click here. Below is a simple step by step guide on how to use Dynamic Web TWAIN ActiveX: 1. Install Dynamic Web TWAIN 8.0.1 TRIAL.exe. You can download it here. 2. Generate a L ...
How to get advanced samples?
For Dynamic .NET TWAIN v6.x and lower versions only, for V7.x+ please refer to http://developer.dynamsoft.com/dnt/kb All samples are available at: Dynamic Web TWAIN sample code gallery ImageCapture Suite sample code gallery Dynamic .NET TWAIN sample code gallery To support various environme ...
How to prevent caching of my Javascript file?
Scenario: Since version 10 of Dynamic Web TWAIN, we added the HTML5 SDK for Chrome&Firefox Edition. The TWAIN HTML5 SDK is specifically addressing the phasing out of NPAPI plugins used by the browsers. For more information about the HTML5 SDK, please click here. Now that we have JS Client, some ...
How to test if your scanner supports native scanning on Mac OS X?
In Dynamic Web TWAIN, there is a property named ImageCaptureDriverType which only works for Mac Edition. When the value of this property is set to 1or 3, it will use Native Scan Mode for scanning images from scanner. In order to know whether your scanners support Native Scan or not, you can use ...
How to debug in chrome step by step?
Scenario: As the complexity of JavaScript applications increase, developers need powerful debugging tools to help quickly discover the cause of an issue and fix it efficiently. The Chrome DevTools include a number of useful tools to help make debugging JavaScript less painful. In this section, ...
Have trouble in using Dynamic Web TWAIN 10.0 Chrome&Firefox Edition?
Since Chrome is going to stop supporting NPAPI technology by the end of this year. In Dynamic Web TWAIN 10.0, we developed Chrome&Firefox Edition as the replacement of the old Plug-in Edition. Although we have done plenty of test as possible as we can, there is still a very few of customers have ...