Thanks for downloading Dynamsoft Barcode Reader Package!
Your download will start shortly. If your download does not begin, click here to retry.
Deployment: Self-hosted, Offline, or Intranet
The following steps guide you through how to deploy the library on your own server.
Step One: Deploy the dist folder
Locate the dist/ directory under the installation folder of the library and simply copy the entire directory to your server. The dist/ folder should contain the following files:
dbr.scanner.html// Scanner default UI
dbr-<version>.worker.js// A worker thread for decoding
dbr-<version>.wasm.js// Compact Edition JS
dbr-<version>.wasm// Compact Edition WASM
dbr-<version>.full.wasm.js// Full Edition JS
dbr-<version>.full.wasm// Full Edition WASM
If the resource files (e.g.,
wasm files) are not placed in the same directory as
dbr.js, you will need to specify the path using the API
engineResourcePath before calling
Dynamsoft.DBR.BarcodeReader.engineResourcePath = "url/to/the/dir/";
Step Two: Configure the Server
Set the MIME type for
Different servers are configured differently. Here are some popular ones:
- Java™ EE web app:
A full license is required for deployment. If you have not purchased a license yet, please visit our online store.
Step One : Create a Dynamsoft account
If you don’t have an Dynamsoft account yet, sign up here. Be sure to use the same email that was registered for the purchase.
Step Two : Log into Dynamsoft Customer Portal
Once logged in, click License in the left menu bar to show your purchased license(s).
Step Three : Activate the License
Under Status, click Activate Now to specify a domain to bind your license key. The domain binding is a security feature to protect your license, optional but highly recommended.
A few examples of the domain:
- *.dynamsoft.com; *.yoursite.com
Step Four : Use the License
In the above sample code, simply replace
PRODUCT-KEYS with your activated key.
This page is compatible for:
In this article: