Quick start instructions - how to get started.
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.
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.
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.
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
FEATURES
- TWTwainClient added to the system tray
FEATURES
- improved scanner compatibility
FEATURES
- Better scanner compatibility
FEATURES
- Better scanner compatibility
FEATURES
- Improved handling of scanner driver errors
BUG FIXES
- ADF didn't work correctly for some devices
BUG FIXES
-In some cases license key wasn't applied correctly
BUG FIXES
-Stability improvements
FEATURES
-Initial version
Supported operating system
Windows Vista and newer Windows OS
Supported web browsers
All newer browsers (IE11 is not supported)
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.
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.