Open a ticket
Chat with us

TWTwainJS - Download

TWTwainJS saves your time and resources by providing a ready-made solution for scanning rather than building the functionality from scratch.

Featured image TWTwainJS

Download TWTwainJS

Quick start instructions - how to get started.

Documentation

TWTwainJS documentation is an invaluable resource for developers looking to incorporate scanner capabilities into their web applications. The documentation provides clear explanations and examples for each feature and function of the library.


Latest Release - Minor Update (1.3.1.0)


FEATURES

- Chrome's "Apps on device" permission: Chrome asks visitors before a website may connect to apps on their computer. When the permission is blocked, TWTwainJS now reports LOOPBACK_PERMISSION_DENIED with a message that tells the user how to allow it, instead of reporting that TWTwainClient is not running. getLoopbackPermission() checks the permission before connecting, and a page in an iframe of another site needs allow="loopback-network" on the iframe.
- Error code for a missing client: when no TWTwainClient is found in the port range, the error now has the code CLIENT_NOT_FOUND, so a page can react to it without checking the message text. The message itself is unchanged.


BUG FIXES

- Updating while TWTwainClient is running: setup now closes the client for every user of the computer before it replaces the files; for the other users it starts again at their next sign-in. Previously, when the client was running in another user's session, for example on a terminal server, the update failed with "DeleteFile failed; code 5", and a silent installation under the SYSTEM account failed with exit code 5.
- Installation under the SYSTEM account (Intune, SCCM, scheduled tasks): setup no longer starts TWTwainClient under the SYSTEM account, where it runs hidden from every user. The client starts for each user at their next sign-in.
- Error after the last page: with some scanner drivers, Xerox among them, a scan could end with SCAN_FAILED after the last page, although all pages had been scanned. The scan now finishes normally.
- Demo pages no longer load polyfill.io: the polyfill.io service was compromised in 2024. If your page was built from our demo, remove the polyfill.io script tag. The demo pages no longer support Internet Explorer 11.

Minor (1.3.1.0)

11/13/2026

FEATURES

- Chrome's "Apps on device" permission: Chrome asks visitors before a website may connect to apps on their computer. When the permission is blocked, TWTwainJS now reports LOOPBACK_PERMISSION_DENIED with a message that tells the user how to allow it, instead of reporting that TWTwainClient is not running. getLoopbackPermission() checks the permission before connecting, and a page in an iframe of another site needs allow="loopback-network" on the iframe.
- Error code for a missing client: when no TWTwainClient is found in the port range, the error now has the code CLIENT_NOT_FOUND, so a page can react to it without checking the message text. The message itself is unchanged.


BUG FIXES

- Updating while TWTwainClient is running: setup now closes the client for every user of the computer before it replaces the files; for the other users it starts again at their next sign-in. Previously, when the client was running in another user's session, for example on a terminal server, the update failed with "DeleteFile failed; code 5", and a silent installation under the SYSTEM account failed with exit code 5.
- Installation under the SYSTEM account (Intune, SCCM, scheduled tasks): setup no longer starts TWTwainClient under the SYSTEM account, where it runs hidden from every user. The client starts for each user at their next sign-in.
- Error after the last page: with some scanner drivers, Xerox among them, a scan could end with SCAN_FAILED after the last page, although all pages had been scanned. The scan now finishes normally.
- Demo pages no longer load polyfill.io: the polyfill.io service was compromised in 2024. If your page was built from our demo, remove the polyfill.io script tag. The demo pages no longer support Internet Explorer 11.


Major (1.3.0.0)

09/08/2026

FEATURES

- Automatic reconnection: the browser now reconnects to the local scanning client on its own after a dropped connection, so scanning stays available without reloading the page or signing out.
- Automatic recovery: the scanning client now restarts itself after a scanner error instead of having to be closed and reopened manually.


BUG FIXES

- Missing pages: a page that failed to transfer is now detected and fetched again, so multi-page documents come through complete.
- Delayed results in background tabs: a scan no longer appears to hang when the browser tab is not in focus; the result arrives as soon as the scan finishes.
- Connection reliability: a lost or failed connection to the scanning client is now reported clearly instead of failing silently or leaving the page waiting.
- General stability improvements


Minor (1.2.3.0)

07/29/2026

FEATURES

- TWTwainClient added to the system tray


Minor (1.2.2.0)

05/08/2026

FEATURES

- improved scanner compatibility


Minor (1.2.1.0)

03/16/2026

FEATURES

- Better scanner compatibility


Major (1.2.0.0)

03/13/2026

FEATURES

- Better scanner compatibility


Minor (1.1.0.0)

01/21/2026

FEATURES

- Improved handling of scanner driver errors


Minor (1.0.1.0)

08/08/2024

BUG FIXES

- ADF didn't work correctly for some devices


Minor (1.0.0.9)

05/17/2024

BUG FIXES

-In some cases license key wasn't applied correctly


Minor (1.0.0.8)

10/11/2023

BUG FIXES

-Stability improvements


Major (1.0.0.7)

02/22/2023

FEATURES

-Initial version



Requirements

Supported operating system

Windows Vista and newer Windows OS


Supported web browsers

All newer browsers (IE11 is not supported)

License expired?

Request a free trial license extension in case you need more time to evaluate our product. You will receive your new trial license shortly after you fill out the application.

Request now
Partner program

Cloud services and managed services providers can benefit with our products. The Terminalworks Partner Program enables you to buy license packages of Terminalworks products and resell them.

Apply now
Contact information

Technical Support Phone
(407) 567-0096

Sales Phone
(407) 567-0097

Telephone support available from 10 AM till 10 PM Central European Time
Contact us
Copyright © 2026 Terminalworks. All Rights Reserved