How 'Remote Scan' Works in Dynamic Web TWAIN 16.2

Apr 13, 2021
How 'Remote Scan' Works in Dynamic Web TWAIN 16.2

Before we introduce this new feature, let’s take a look at how Dynamic Web TWAIN HTML5 Edition works in previous versions.

Scan Documents from a Local Scanner

As illustrated above, when an end-user visits the document scanning page for the very first time, a service program is downloaded and installed on the client machine. This service accepts user operation commands from a JavaScript client. It listens on and handles the interface with TWAIN, SANE, and ICA scanner protocals, and passes the response to the JavaScript layer.

We can see that the service and the JavaScript layer are on the same machine.

Scan Documents from a Remote Scanner

Things are different with the new remote scan feature in the latest release. Below is a basic diagram.

From the illustration, we see that the web TWAIN service and the JavaScript client run on separate machines.

  • Scanner host machine: The Dynamsoft service can be installed on Windows, Linux, and macOS.
  • End user device: JavaScript client can be loaded on any device with a JavaScript-compatible browser installed, like, iPad, Android, iPhone, Raspberry Pi, Jetson Nano, etc. No installation is required on the client machines.

A basic workflow:

  1. The JavaScript client initiates a scanning job to the website server.
  2. The website server sends a scan request to the Web TWAIN service;
  3. The server-side service interacts with the scanner and retrieves the images;
  4. The service sends the (compressed) data to the client machine;
  5. The JavaScript client receives the images.

This kind of setup is especially useful for scenarios where a centralized document scanning server is available.

About how to get the new remote scan feature up and running, please refer to this knowledge base article: How to enable remote scan.

Subscribe Newsletter

Subscribe to our mailing list to get the monthly update.