From 6c403a400b6d6b78920c0e1e27d4b1c9756e2afe Mon Sep 17 00:00:00 2001
From: yqz5625 <124620364+yqz5625@users.noreply.github.com>
Date: Fri, 14 Feb 2025 13:44:58 +0800
Subject: [PATCH 01/12] Create enable-supported-barcode-format.md
---
.../faq/enable-supported-barcode-format.md | 46 +++++++++++++++++++
1 file changed, 46 insertions(+)
create mode 100644 programming/javascript/faq/enable-supported-barcode-format.md
diff --git a/programming/javascript/faq/enable-supported-barcode-format.md b/programming/javascript/faq/enable-supported-barcode-format.md
new file mode 100644
index 00000000..beffee8b
--- /dev/null
+++ b/programming/javascript/faq/enable-supported-barcode-format.md
@@ -0,0 +1,46 @@
+---
+layout: default-layout
+title: How to Enable Specific Barcode Formats with Your License?
+keywords: Dynamsoft Barcode Reader, FAQ, JavaScript, tech basic, barcode format, no license found
+description: When moving from a trial license to a production license, you may encounter the error `[xxx] No license found` if your enabled barcode formats don't match the formats supported by your license?
+needAutoGenerateSidebar: false
+---
+
+# How to Enable Specific Barcode Formats with Your License
+[<< Back to FAQ index](index.md)
+
+## Problem
+When moving from a trial license to a production license, you may encounter the error `[xxx] No license found` if your enabled barcode formats don't match the formats supported by your license. This occurs because the SDK validates enabled formats against your license's capabilities.
+
+## Solution
+Explicitly enable **only the barcode formats covered by your license** in your code configuration.
+
+---
+
+### Step-by-Step Guide
+
+1. **Check Your License Coverage**
+ Confirm which barcode formats your license supports (e.g., QR Code + 1D barcodes).
+
+2. **Configure Barcode Formats**
+ Update your code to explicitly enable **only the licensed formats**.
+ Example for enabling **QR Code only**:
+
+ ```javascript
+ let settings = await router.getSimplifiedSettings("ReadSingleBarcode");
+ // Enable QR Code only
+ settings.barcodeSettings.barcodeFormatIds =
+ Dynamsoft.DBR.EnumBarcodeFormat.BF_QR_CODE;
+ await router.updateSettings("ReadSingleBarcode", settings);
+ await router.startCapturing("ReadSingleBarcode");
+
+3. **For Multiple Formats**
+ Use bitwise OR (|) to combine formats. Example for enabling QR Code + 1D formats:
+
+ ```javascript
+ // Enable QR Code only
+ settings.barcodeSettings.barcodeFormatIds =
+ Dynamsoft.DBR.EnumBarcodeFormat.BF_QR_CODE|Dynamsoft.DBR.EnumBarcodeFormat.BF_ONED;
+
+4. **Verify Supported Formats**
+ View the complete list of supported barcode formats and their corresponding IDs here:[Barcode Format Documentation](https://www.dynamsoft.com/capture-vision/docs/core/enums/barcode-reader/barcode-format.html?lang=js&product=dbr)
From ee4b0558ead7a6f08277591dd3635d40f33a0b24 Mon Sep 17 00:00:00 2001
From: yqz5625 <124620364+yqz5625@users.noreply.github.com>
Date: Fri, 14 Feb 2025 13:53:16 +0800
Subject: [PATCH 02/12] Update index.md
---
programming/javascript/faq/index.md | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/programming/javascript/faq/index.md b/programming/javascript/faq/index.md
index dd1067c3..46c5eddb 100644
--- a/programming/javascript/faq/index.md
+++ b/programming/javascript/faq/index.md
@@ -85,4 +85,7 @@ noTitleIndex: true
38. [Why isn't my webcam reading the barcode on my driver's license or ID card?](webcam-support-dense.md)
-39. [What are the system requirements for running the latest version of Dynamsoft Barcode Reader?](system-requirement.md)
\ No newline at end of file
+39. [What are the system requirements for running the latest version of Dynamsoft Barcode Reader?](system-requirement.md)
+
+40. [How to Enable Specific Barcode Formats with Your License](enable-supported-barcode-format.md
+)
From 3353c6a9626f68f3269766a3a95ed0719d0b2520 Mon Sep 17 00:00:00 2001
From: yqz5625 <124620364+yqz5625@users.noreply.github.com>
Date: Fri, 14 Feb 2025 13:56:21 +0800
Subject: [PATCH 03/12] Update programming-javascript-v10.0.21.html
---
.../sidelist-programming/programming-javascript-v10.0.21.html | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/_includes/sidelist-programming/programming-javascript-v10.0.21.html b/_includes/sidelist-programming/programming-javascript-v10.0.21.html
index 3a6858c0..0bea96ba 100644
--- a/_includes/sidelist-programming/programming-javascript-v10.0.21.html
+++ b/_includes/sidelist-programming/programming-javascript-v10.0.21.html
@@ -1148,6 +1148,10 @@
barcodes via video in iOS 16.7 or 17?
+
+ How to Enable Specific Barcode Formats with Your License
+
OTHERS
From f09f1baecbee30ea03ec4958dc1ce04d172d2ad8 Mon Sep 17 00:00:00 2001
From: yqz5625 <124620364+yqz5625@users.noreply.github.com>
Date: Fri, 14 Feb 2025 14:07:52 +0800
Subject: [PATCH 04/12] Update programming-javascript-v10.0.21.html
---
.../sidelist-programming/programming-javascript-v10.0.21.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/_includes/sidelist-programming/programming-javascript-v10.0.21.html b/_includes/sidelist-programming/programming-javascript-v10.0.21.html
index 0bea96ba..847517ac 100644
--- a/_includes/sidelist-programming/programming-javascript-v10.0.21.html
+++ b/_includes/sidelist-programming/programming-javascript-v10.0.21.html
@@ -1150,7 +1150,7 @@
How to Enable Specific Barcode Formats with Your License
+ >How to Enable Specific Barcode Formats with Your License?
From 79caa6af9ea132ba0551fe29061f8a2d7e843fa2 Mon Sep 17 00:00:00 2001
From: yqz5625 <124620364+yqz5625@users.noreply.github.com>
Date: Fri, 14 Feb 2025 14:08:26 +0800
Subject: [PATCH 05/12] Update programming-javascript.html
---
_includes/sidelist-programming/programming-javascript.html | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/_includes/sidelist-programming/programming-javascript.html b/_includes/sidelist-programming/programming-javascript.html
index 0d1fa38d..0d85b561 100644
--- a/_includes/sidelist-programming/programming-javascript.html
+++ b/_includes/sidelist-programming/programming-javascript.html
@@ -1674,6 +1674,10 @@
>What are the system requirements for running the latest version of Dynamsoft Barcode Reader?
+
+ How to Enable Specific Barcode Formats with Your License?
+
License Initialization
From 45fb8fe986b679768b8701d5feeba7ffc57fa052 Mon Sep 17 00:00:00 2001
From: yqz5625 <124620364+yqz5625@users.noreply.github.com>
Date: Fri, 14 Feb 2025 14:08:43 +0800
Subject: [PATCH 06/12] Update programming-javascript-v10.2.1000.html
---
.../programming-javascript-v10.2.1000.html | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/_includes/sidelist-programming/programming-javascript-v10.2.1000.html b/_includes/sidelist-programming/programming-javascript-v10.2.1000.html
index 9910d1da..9140bd94 100644
--- a/_includes/sidelist-programming/programming-javascript-v10.2.1000.html
+++ b/_includes/sidelist-programming/programming-javascript-v10.2.1000.html
@@ -1582,6 +1582,10 @@
barcodes via video in iOS 16.7 or 17?
+
+ How to Enable Specific Barcode Formats with Your License?
+
OTHERS
From bbe733a0c27b61b29b95d0c23e8c77b82bd2ba08 Mon Sep 17 00:00:00 2001
From: Justin-Dynamsoft <33125453+a362758199@users.noreply.github.com>
Date: Fri, 14 Feb 2025 14:10:32 +0800
Subject: [PATCH 07/12] Update index.md
---
programming/javascript/faq/index.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programming/javascript/faq/index.md b/programming/javascript/faq/index.md
index 46c5eddb..7b8b10db 100644
--- a/programming/javascript/faq/index.md
+++ b/programming/javascript/faq/index.md
@@ -87,5 +87,5 @@ noTitleIndex: true
39. [What are the system requirements for running the latest version of Dynamsoft Barcode Reader?](system-requirement.md)
-40. [How to Enable Specific Barcode Formats with Your License](enable-supported-barcode-format.md
+40. [How to Enable Specific Barcode Formats with Your License?](enable-supported-barcode-format.md
)
From 69010e4ddb7fcfeea83255ec0d903a71e79a6143 Mon Sep 17 00:00:00 2001
From: yqz5625 <124620364+yqz5625@users.noreply.github.com>
Date: Fri, 14 Feb 2025 14:18:57 +0800
Subject: [PATCH 08/12] Update enable-supported-barcode-format.md
---
programming/javascript/faq/enable-supported-barcode-format.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/programming/javascript/faq/enable-supported-barcode-format.md b/programming/javascript/faq/enable-supported-barcode-format.md
index beffee8b..fe35e74b 100644
--- a/programming/javascript/faq/enable-supported-barcode-format.md
+++ b/programming/javascript/faq/enable-supported-barcode-format.md
@@ -33,7 +33,7 @@ Explicitly enable **only the barcode formats covered by your license** in your c
Dynamsoft.DBR.EnumBarcodeFormat.BF_QR_CODE;
await router.updateSettings("ReadSingleBarcode", settings);
await router.startCapturing("ReadSingleBarcode");
-
+ ```
3. **For Multiple Formats**
Use bitwise OR (|) to combine formats. Example for enabling QR Code + 1D formats:
@@ -41,6 +41,6 @@ Explicitly enable **only the barcode formats covered by your license** in your c
// Enable QR Code only
settings.barcodeSettings.barcodeFormatIds =
Dynamsoft.DBR.EnumBarcodeFormat.BF_QR_CODE|Dynamsoft.DBR.EnumBarcodeFormat.BF_ONED;
-
+ ```
4. **Verify Supported Formats**
View the complete list of supported barcode formats and their corresponding IDs here:[Barcode Format Documentation](https://www.dynamsoft.com/capture-vision/docs/core/enums/barcode-reader/barcode-format.html?lang=js&product=dbr)
From 2b7e0c44378a796b5e57778de8942f230932da9a Mon Sep 17 00:00:00 2001
From: yqz5625 <124620364+yqz5625@users.noreply.github.com>
Date: Fri, 14 Feb 2025 15:13:38 +0800
Subject: [PATCH 09/12] Update enable-supported-barcode-format.md
---
.../faq/enable-supported-barcode-format.md | 39 ++++++++++---------
1 file changed, 21 insertions(+), 18 deletions(-)
diff --git a/programming/javascript/faq/enable-supported-barcode-format.md b/programming/javascript/faq/enable-supported-barcode-format.md
index fe35e74b..fed20055 100644
--- a/programming/javascript/faq/enable-supported-barcode-format.md
+++ b/programming/javascript/faq/enable-supported-barcode-format.md
@@ -24,23 +24,26 @@ Explicitly enable **only the barcode formats covered by your license** in your c
2. **Configure Barcode Formats**
Update your code to explicitly enable **only the licensed formats**.
- Example for enabling **QR Code only**:
-
- ```javascript
- let settings = await router.getSimplifiedSettings("ReadSingleBarcode");
- // Enable QR Code only
- settings.barcodeSettings.barcodeFormatIds =
- Dynamsoft.DBR.EnumBarcodeFormat.BF_QR_CODE;
- await router.updateSettings("ReadSingleBarcode", settings);
- await router.startCapturing("ReadSingleBarcode");
- ```
-3. **For Multiple Formats**
- Use bitwise OR (|) to combine formats. Example for enabling QR Code + 1D formats:
-
- ```javascript
- // Enable QR Code only
- settings.barcodeSettings.barcodeFormatIds =
- Dynamsoft.DBR.EnumBarcodeFormat.BF_QR_CODE|Dynamsoft.DBR.EnumBarcodeFormat.BF_ONED;
- ```
+ - Example for Enabling **QR Code Only**:
+
+ ```javascript
+ let settings = await router.getSimplifiedSettings("ReadSingleBarcode");
+ // Enable QR Code only
+ settings.barcodeSettings.barcodeFormatIds =
+ Dynamsoft.DBR.EnumBarcodeFormat.BF_QR_CODE;
+ await router.updateSettings("ReadSingleBarcode", settings);
+ await router.start capturing("ReadSingleBarcode");
+ ```
+
+ - Example for Enabling **Multiple Formats**:
+
+ Use bitwise OR (|) to combine formats.
+ ```javascript
+ // Enable QR Code and 1D
+ settings.barcodeSettings.barcodeFormatIds =
+ Dynamsoft.DBR.EnumBarcodeFormat.BF_QR_CODE|Dynamsoft.DBR.EnumBarcodeFormat.BF_ONED;
+ ```
+
4. **Verify Supported Formats**
+
View the complete list of supported barcode formats and their corresponding IDs here:[Barcode Format Documentation](https://www.dynamsoft.com/capture-vision/docs/core/enums/barcode-reader/barcode-format.html?lang=js&product=dbr)
From bd1208dfd0eb03a573f8a6478c5a637df07ad1f0 Mon Sep 17 00:00:00 2001
From: yqz5625 <124620364+yqz5625@users.noreply.github.com>
Date: Fri, 14 Feb 2025 15:17:03 +0800
Subject: [PATCH 10/12] Update enable-supported-barcode-format.md
---
programming/javascript/faq/enable-supported-barcode-format.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programming/javascript/faq/enable-supported-barcode-format.md b/programming/javascript/faq/enable-supported-barcode-format.md
index fed20055..33b0e809 100644
--- a/programming/javascript/faq/enable-supported-barcode-format.md
+++ b/programming/javascript/faq/enable-supported-barcode-format.md
@@ -46,4 +46,4 @@ Explicitly enable **only the barcode formats covered by your license** in your c
4. **Verify Supported Formats**
- View the complete list of supported barcode formats and their corresponding IDs here:[Barcode Format Documentation](https://www.dynamsoft.com/capture-vision/docs/core/enums/barcode-reader/barcode-format.html?lang=js&product=dbr)
+ View the complete list of supported barcode formats and their corresponding IDs here: [Barcode Format Documentation](https://www.dynamsoft.com/capture-vision/docs/core/enums/barcode-reader/barcode-format.html?lang=js&product=dbr)
From d9390591f5696e9e3acaee9b93433762d1149d06 Mon Sep 17 00:00:00 2001
From: yqz5625 <124620364+yqz5625@users.noreply.github.com>
Date: Fri, 14 Feb 2025 15:26:34 +0800
Subject: [PATCH 11/12] Update enable-supported-barcode-format.md
---
programming/javascript/faq/enable-supported-barcode-format.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programming/javascript/faq/enable-supported-barcode-format.md b/programming/javascript/faq/enable-supported-barcode-format.md
index 33b0e809..b7f7863e 100644
--- a/programming/javascript/faq/enable-supported-barcode-format.md
+++ b/programming/javascript/faq/enable-supported-barcode-format.md
@@ -32,7 +32,7 @@ Explicitly enable **only the barcode formats covered by your license** in your c
settings.barcodeSettings.barcodeFormatIds =
Dynamsoft.DBR.EnumBarcodeFormat.BF_QR_CODE;
await router.updateSettings("ReadSingleBarcode", settings);
- await router.start capturing("ReadSingleBarcode");
+ await router.startCapturing("ReadSingleBarcode");
```
- Example for Enabling **Multiple Formats**:
From 67f3c8c9f1b9ba1290358463585db55fafdf9389 Mon Sep 17 00:00:00 2001
From: yqz5625 <124620364+yqz5625@users.noreply.github.com>
Date: Fri, 14 Feb 2025 15:29:30 +0800
Subject: [PATCH 12/12] Update enable-supported-barcode-format.md
---
programming/javascript/faq/enable-supported-barcode-format.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programming/javascript/faq/enable-supported-barcode-format.md b/programming/javascript/faq/enable-supported-barcode-format.md
index b7f7863e..19dfde43 100644
--- a/programming/javascript/faq/enable-supported-barcode-format.md
+++ b/programming/javascript/faq/enable-supported-barcode-format.md
@@ -41,7 +41,7 @@ Explicitly enable **only the barcode formats covered by your license** in your c
```javascript
// Enable QR Code and 1D
settings.barcodeSettings.barcodeFormatIds =
- Dynamsoft.DBR.EnumBarcodeFormat.BF_QR_CODE|Dynamsoft.DBR.EnumBarcodeFormat.BF_ONED;
+ Dynamsoft.DBR.EnumBarcodeFormat.BF_QR_CODE | Dynamsoft.DBR.EnumBarcodeFormat.BF_ONED;
```
4. **Verify Supported Formats**