The leading provider of version control solutions and TWAIN SDKs
  • Sign into hosted web portal
  • Contact us
 
Dynamic Web TWAIN > Sample Code

Access a Scanner from JavaScript | HTML for Document Scanning
ASP.NET (C#), PHP, VB.NET, JSP or ASP on the server side

Dynamic Web TWAIN is a document scanning component running as an ActiveX control or browser plugin to interact with scanners. The samples work with 32-bit/64-bit IE and Firefox, Chrome, Safari, Opera on Windows and Mac as client side. And you can deploy the samples on web servers like IIS, Apache or Tomcat.

If you don't find the sample you need here, you can let us know and see if we can help.

Request a sample

Note: To run the sample code properly on your local machine, please download and install the 30-day free trial of Dynamic Web TWAIN, if you haven't done so.  How to use the samples?

Sample Code Download:

Basic Scan
389 downloads
This sample demonstrates the most basic implementation to acquire images from a scanner using Dynamic Web TWAIN.
[C#]Basic Scan and Upload
364 downloads
This sample demonstrates the basics in using Dynamic Web TWAIN to scan and upload images.
[PHP]All Features
273 downloads
This is the PHP version of our current online demo page
Most Basic Initiation
150 downloads
The demo demonstrates how initiation of Dynamic Web TWAIN is done. It supports ActiveX/Plug-in/MAC
[HTML&JS] All DWT Events
55 downloads
This sample has all events implemented for further tests.
[C#] Scan & Upload Asynchronously
38 downloads
This sample demonstrates how to upload files asynchronously


As a component running in the client-side browsers, JavaScript is the preferred language to call all the methods/properties/events of Dynamic Web TWAIN. As far as Dynamic Web TWAIN is concerned, it doesn't make much of a difference whether you are using C#, VB.NET, ASP, JSP or PHP on the server side. As a result, you will find all the samples here are written in HTML + JavaScript except the "Action Page" which refers to the page that receives and processes the images uploaded by Dynamic Web TWAIN.


 
Copyright © 2013 Dynamsoft. All Rights Reserved. Privacy Statement | Site Map


Programming library for TWAIN scanners | Document imaging API


 

Request a sample