diff --git a/barcode-reader/general/avoid-incorrect-results.md b/barcode-reader/general/avoid-incorrect-results.md index ce3f22b..b25754a 100644 --- a/barcode-reader/general/avoid-incorrect-results.md +++ b/barcode-reader/general/avoid-incorrect-results.md @@ -6,6 +6,6 @@ description: How to filter results with the barcode result length? needAutoGenerateSidebar: false --- -## How to filter results with the barcode result length? +# How to filter results with the barcode result length? One way to filter results is to set the [minBarcodeTextLength](https://www.dynamsoft.com/barcode-reader/docs/server/programming/cplusplus/api-reference/simplified-barcode-reader-settings.html#:~:text=int%20minResultConfidence%3B-,int%20minBarcodeTextLength%3B,-char%20barcodeTextRegExPattern%5B) in [SimplifiedBarcodeReaderSettings](https://www.dynamsoft.com/barcode-reader/docs/server/programming/cplusplus/api-reference/simplified-barcode-reader-settings.html#:~:text=SimplifiedBarcodeReaderSettings-,SimplifiedBarcodeReaderSettings,-The%20SimplifiedBarcodeReaderSettings%20struct) of [SimplifiedCaptureVisionSettings](https://www.dynamsoft.com/capture-vision/docs/server/programming/cplusplus/api-reference/capture-vision-router/structs/simplified-capture-vision-settings.html?product=dbr&repoType=server) to the correct length that the barcode results should be. Say that the barcode results should at least be 10 characters long, and the results are sometimes coming out with just 6 or 7 characters. By setting the minBarcodeTextLength to 10, the SDK will ignore results that are shorter than 10 characters. diff --git a/barcode-reader/general/check-current-version.md b/barcode-reader/general/check-current-version.md index 59419fa..33f3d28 100644 --- a/barcode-reader/general/check-current-version.md +++ b/barcode-reader/general/check-current-version.md @@ -35,11 +35,13 @@ console.log(version); ``` > ```objc -NSString *version = [DSCaptureVisionRouterModule getVersion]; +NSString *version = [DSBarcodeReaderModule getVersion]; +NSLog(@"Dynamsoft Barcode Reader Version: %@", version); ``` > ```swift -let version = CaptureVisionRouterModule.getVersion() +let version = BarcodeReaderModule.getVersion() +print("Dynamsoft Barcode Reader Version: \(version)") ``` > ```java @@ -53,9 +55,9 @@ print(reader.get_version()) ``` > ```c++ -const char* version = CCaptureVisionRouterModule::GetVersion(); +const char* version = CBarcodeReaderModule::GetVersion(); ``` > ```csharp -string version = CaptureVisionRouterModule.GetVersion(); +string version = CBarcodeReaderModule.GetVersion(); ``` diff --git a/barcode-reader/general/dbr-supports-pdf.md b/barcode-reader/general/dbr-supports-pdf.md index 7c1a99e..f897277 100644 --- a/barcode-reader/general/dbr-supports-pdf.md +++ b/barcode-reader/general/dbr-supports-pdf.md @@ -6,7 +6,7 @@ description: Can Barcode Reader SDK read PDF files? Do I need to pay for this fe needAutoGenerateSidebar: false --- -## Can Barcode Reader SDK read PDF files? Do I need to pay for this feature? +# Can Barcode Reader SDK read PDF files? Do I need to pay for this feature? Yes — **Dynamsoft Barcode Reader supports reading barcodes from PDF files** in most editions (see the official [Features](https://www.dynamsoft.com/barcode-reader/features/#Decode-Barcodes) page). The **only exceptions** are the **JavaScript edition** and the **Mobile edition**, which currently do **not** support PDF decoding. diff --git a/barcode-reader/general/different-editions-of-dbr.md b/barcode-reader/general/different-editions-of-dbr.md index 26c78ab..bd6b221 100644 --- a/barcode-reader/general/different-editions-of-dbr.md +++ b/barcode-reader/general/different-editions-of-dbr.md @@ -7,7 +7,7 @@ needAutoGenerateSidebar: false breadcrumbText: FAQ --- -## Which edition of Barcode Reader should I use? +# Which edition of Barcode Reader should I use? The edition of the SDK depends on the application environment/type, which is one of: a desktop app, native mobile app, web app (server-side), or web app (client-side). diff --git a/barcode-reader/general/scan-us-drivers-license.md b/barcode-reader/general/scan-us-drivers-license.md index ae6706e..3acd007 100644 --- a/barcode-reader/general/scan-us-drivers-license.md +++ b/barcode-reader/general/scan-us-drivers-license.md @@ -6,7 +6,7 @@ description: How to scan barcodes on US Driver's Licenses and extract the inform needAutoGenerateSidebar: false --- -## How to scan barcodes on US Driver's Licenses and extract the information? +# How to scan barcodes on US Driver's Licenses and extract the information? The SDK can indeed scan driver license barcodes and extract all the information that is encoded in the barcode. The best resources to reference in order to do this are the samples available: diff --git a/barcode-reader/general/supported-barcode-formats.md b/barcode-reader/general/supported-barcode-formats.md index 6ead43e..69ccbde 100644 --- a/barcode-reader/general/supported-barcode-formats.md +++ b/barcode-reader/general/supported-barcode-formats.md @@ -6,6 +6,6 @@ description: What barcode types are supported by Dynamsoft Barcode Reader? needAutoGenerateSidebar: false --- -## What barcode types are supported by Dynamsoft Barcode Reader? +# What barcode types are supported by Dynamsoft Barcode Reader? The full list of supported barcode formats can be found [here](https://www.dynamsoft.com/barcode-reader/docs/core/introduction/?ver=latest#supported-barcode-formats). diff --git a/barcode-reader/mobile/debug/debug-mode.md b/barcode-reader/mobile/debug/debug-mode.md index f309d04..7020468 100644 --- a/barcode-reader/mobile/debug/debug-mode.md +++ b/barcode-reader/mobile/debug/debug-mode.md @@ -6,7 +6,7 @@ description: How to use Debug Mode in Barcode Scanner X? - DBR Mobile FAQs. needAutoGenerateSidebar: true --- -## How to use Debug Mode in Barcode Scanner X? +# How to use Debug Mode in Barcode Scanner X? If you are experiencing app crashes in your own application or you’ve come across some barcode(s) that you can’t read and you have exhausted all of the other troubleshooting methods, Debug Mode of the [BarcodeScannerX](https://www.dynamsoft.com/barcode-reader/sdk-mobile/#appDemo) demo app can help offer one last effort to resolve these issues. diff --git a/barcode-reader/server/configuration/avoid-incorrect-results.md b/barcode-reader/server/configuration/avoid-incorrect-results.md index c37c92a..acde612 100644 --- a/barcode-reader/server/configuration/avoid-incorrect-results.md +++ b/barcode-reader/server/configuration/avoid-incorrect-results.md @@ -6,6 +6,6 @@ description: How to filter incorrect results with the barcode result length? needAutoGenerateSidebar: false --- -## How to filter incorrect results with the barcode result length? +# How to filter incorrect results with the barcode result length? One way to avoid this is to set the [minBarcodeTextLength](https://www.dynamsoft.com/barcode-reader/docs/server/programming/cplusplus/api-reference/simplified-barcode-reader-settings.html#:~:text=int%20minResultConfidence%3B-,int%20minBarcodeTextLength%3B,-char%20barcodeTextRegExPattern%5B) in [SimplifiedBarcodeReaderSettings](https://www.dynamsoft.com/barcode-reader/docs/server/programming/cplusplus/api-reference/simplified-barcode-reader-settings.html#:~:text=SimplifiedBarcodeReaderSettings-,SimplifiedBarcodeReaderSettings,-The%20SimplifiedBarcodeReaderSettings%20struct) of [SimplifiedCaptureVisionSettings](https://www.dynamsoft.com/capture-vision/docs/server/programming/cplusplus/api-reference/capture-vision-router/structs/simplified-capture-vision-settings.html?product=dbr&repoType=server) to the correct length that the barcode results should be. Say that the barcode results should at least be 10 characters long, and the results are sometimes coming out with just 6 or 7 characters. By setting the minBarcodeTextLength to 10, the SDK will ignore results that are shorter than 10 characters. diff --git a/barcode-reader/server/configuration/custom-settings-template.md b/barcode-reader/server/configuration/custom-settings-template.md index fb770b5..9f5bd6d 100644 --- a/barcode-reader/server/configuration/custom-settings-template.md +++ b/barcode-reader/server/configuration/custom-settings-template.md @@ -6,22 +6,24 @@ description: How to create custom settings template? needAutoGenerateSidebar: false --- -## How to create custom settings template? +# How to create custom settings template? -One of the strengths of the Dynamsoft Barcode Reader is its wide range of customizable options that can optimize the performance of the SDK. Whether you are looking to prioritize read rate or speed, these settings can be used in many ways to match the targeted use case. +One of the strengths of the Dynamsoft Barcode Reader is its wide range of customizable options that can optimize the performance of the SDK. Whether your priority is read rate or speed, these settings can be tailored to suit various use cases. -If you are looking to create your own custom template of settings to use with the [InitSettingsFromFile](https://www.dynamsoft.com/capture-vision/docs/server/programming/cplusplus/api-reference/capture-vision-router/settings.html?product=dbr&repoType=server#initsettingsfromfile) methods, here are the steps: +If you are looking to create your own custom settings template for use with the [InitSettingsFromFile](https://www.dynamsoft.com/capture-vision/docs/server/programming/cplusplus/api-reference/capture-vision-router/settings.html?product=dbr&repoType=server#initsettingsfromfile) method, please follow these steps: 1. Visit the main [online demo](https://demo.dynamsoft.com/barcode-reader/). -2. Once on that page, you will find the settings menu on the left-hand side. Please note that you can access the full settings by clicking on _Advanced Settings_ +2. On the left-hand side, locate the settings menu. Click on **Advanced Settings** to access the full range of options. -3. Edit the settings that you want +3. Modify the settings as needed. -4. Once you're ready to get the template, scroll down to the bottom of the settings menu to find the full settings as a _Struct_ or a _Template_. The struct is the more readable version of the template, but the actual JSON code will be under _Template_. +4. To obtain the template, scroll to the bottom of the settings menu where you can find the full settings presented as a **Struct** or a **Template**. The **Struct** offers a more readable format, while the actual JSON code is available under **Template**. -5. Copy the JSON code under _Template_ and paste it into your own JSON file, or you can download the template JSON file straight from the demo. +5. Copy the JSON code from the **Template** section and paste it into your own JSON file, or download the template JSON file directly from the demo. -6. The template you downloaded is currently Barcode Reader version 9/version 10 template and the latest version is version 11. Use the [TemplateConverter Tool](https://www.dynamsoft.com/tools/template-upgrade/) to convert the template to Barcode Reader version 11 compatible template. +6. The downloaded template corresponds to the specific version of Dynamsoft Barcode Reader, specified in the title at top-left corner (e.g. "Ver. 11.4.20"). Please make sure to use the template with the same version. Otherwise, it may have conflicts issue. -And with that, you have your own template to use with the [InitSettingsFromFile](https://www.dynamsoft.com/capture-vision/docs/server/programming/cplusplus/api-reference/capture-vision-router/settings.html?product=dbr&repoType=server#initsettingsfromfile) method! +With these steps, you will have your own template ready for use with the [InitSettingsFromFile](https://www.dynamsoft.com/capture-vision/docs/server/programming/cplusplus/api-reference/capture-vision-router/settings.html?product=dbr&repoType=server#initsettingsfromfile) method! + +For more information on using `InitSettingsFromFile` method, please refer to **User Guide** > **Explore Features** > **Advanced Features** > **Use SimplifiedCaptureVisionSettings or Templates**. \ No newline at end of file diff --git a/barcode-reader/server/configuration/error-10022-the-PDF-DLL-is-missing.md b/barcode-reader/server/configuration/error-10022-the-PDF-DLL-is-missing.md index 02542c8..3ae77b7 100644 --- a/barcode-reader/server/configuration/error-10022-the-PDF-DLL-is-missing.md +++ b/barcode-reader/server/configuration/error-10022-the-PDF-DLL-is-missing.md @@ -6,7 +6,7 @@ description: How to resolve error -10022 the PDF DLL is missing? needAutoGenerateSidebar: false --- -## How to troubleshoot error message "-10022 The PDF DLL is missing" +# How to troubleshoot error message "-10022 The PDF DLL is missing" [<< Back to FAQ index](index.md) diff --git a/barcode-reader/server/configuration/error-license-buffer.md b/barcode-reader/server/configuration/error-license-buffer.md index 98ce4cb..45da57e 100644 --- a/barcode-reader/server/configuration/error-license-buffer.md +++ b/barcode-reader/server/configuration/error-license-buffer.md @@ -6,7 +6,7 @@ description: How to resolve error failed to read or write license buffer? needAutoGenerateSidebar: false --- -## How to resolve error failed to read or write license buffer? +# How to resolve error failed to read or write license buffer? [<< Back to FAQ index](index.md) diff --git a/barcode-reader/server/configuration/how-to-enable-dpm.md b/barcode-reader/server/configuration/how-to-enable-dpm.md index a93a019..376daa0 100644 --- a/barcode-reader/server/configuration/how-to-enable-dpm.md +++ b/barcode-reader/server/configuration/how-to-enable-dpm.md @@ -6,7 +6,7 @@ description: How to enable DPM? needAutoGenerateSidebar: false --- -## How to enable DPM? +# How to enable DPM? To enable DPM, assign the `DPMCRM_GENERAL` enumeration to the `DPMCodeReadingModes` array. diff --git a/barcode-reader/server/configuration/non-english-characters.md b/barcode-reader/server/configuration/non-english-characters.md index 840cd53..0404c58 100644 --- a/barcode-reader/server/configuration/non-english-characters.md +++ b/barcode-reader/server/configuration/non-english-characters.md @@ -6,7 +6,7 @@ description: What I can do when barcode image returns messy (non-english) charac needAutoGenerateSidebar: false --- -## What I can do when barcode image returns messy (non-english) characters? +# What I can do when barcode image returns messy (non-english) characters? The barcode text of the result is of a non-Latin based language, as by default most webpages are able to display Latin-based languages. diff --git a/barcode-reader/server/configuration/sort-barcodes-image.md b/barcode-reader/server/configuration/sort-barcodes-image.md index b0de8e6..6a3765e 100644 --- a/barcode-reader/server/configuration/sort-barcodes-image.md +++ b/barcode-reader/server/configuration/sort-barcodes-image.md @@ -6,7 +6,7 @@ description: How can I sort the barcodes of my image in reading order? needAutoGenerateSidebar: false --- -## How can I sort the barcodes of my image in reading order? +# How can I sort the barcodes of my image in reading order? When decoding a large image that contains a large number of barcodes (like a large batch of test vials in a medical lab), you will probably find that the order in which you get the results is not in a natural reading order. diff --git a/barcode-reader/web/configuration/ways-to-copy-dbr-js-deployable-files.md b/barcode-reader/web/configuration/ways-to-copy-dbr-js-deployable-files.md new file mode 100644 index 0000000..8dfe001 --- /dev/null +++ b/barcode-reader/web/configuration/ways-to-copy-dbr-js-deployable-files.md @@ -0,0 +1,62 @@ +--- +layout: default-layout +title: How to get a copy of Dbr JS deployable files (source code, etc.) ? +keywords: Dynamsoft Barcode Reader, FAQ, tech basic, deployable files +description: How to get a copy of Dbr JS deployable files (source code, etc.) ? +needAutoGenerateSidebar: false +--- + +# How to get a copy of Dynamsoft Barcode Reader (DBR) JS deployable files (source code, etc.) ? + +You can obtain a copy of the DBR JS deployable files using one of the following methods: + +## 1. Download the DBR-JS package from website + + Visit the [Dynamsoft website](https://www.dynamsoft.com/barcode-reader/downloads) or the [Dynamsoft Customer Portal](https://www.dynamsoft.com/customer/download) (select the "Download Center" menu on the left-hand side). + + The resources can be found at the path: `dynamsoft-barcode-reader-js-{version-number}\dist`. + +## 2. Install the library via npm + +**For Version 10 and Above** + +Use the command: + +```bash + npm i dynamsoft-barcode-reader-bundle@{version-number} -E +``` +Please replace "{version-number}" with the exact version you are currently using. For example: + +```bash + npm i dynamsoft-barcode-reader-bundle@11.4.2001 -E +``` + +**For Version 9** + +Use the command: + +```bash + npm install dynamsoft-javascript-barcode --save +``` + +## 3. Install the library via yarn + +**For Version 10 and Above** + +Use the command: + +```bash + yarn add dynamsoft-barcode-reader-bundle@{version-number} -E +``` + +For example: + +```bash + yarn add dynamsoft-barcode-reader-bundle@11.4.2001 -E +``` + +**For Version 9** + +```bash + yarn add dynamsoft-javascript-barcode +``` diff --git a/license/dbr-free-trial.md b/license/dbr-free-trial.md index dc3c104..50339e1 100644 --- a/license/dbr-free-trial.md +++ b/license/dbr-free-trial.md @@ -6,7 +6,7 @@ description: What I need to know about trial licenses? needAutoGenerateSidebar: false --- -## What I need to know about trial licenses? +# What I need to know about trial licenses? To get a free trial of the SDK, please download it from [our website](https://www.dynamsoft.com/barcode-reader/downloads/). diff --git a/license/ensure-no-overuse.md b/license/ensure-no-overuse.md index 68e29fa..82f4075 100644 --- a/license/ensure-no-overuse.md +++ b/license/ensure-no-overuse.md @@ -6,7 +6,7 @@ description: How to properly use concurrent instance license? needAutoGenerateSidebar: false --- -## How to properly use concurrent instance license? +# How to properly use concurrent instance license? The standard way to use concurrent instance license is: diff --git a/license/expand-quota-for-runtime-license.md b/license/expand-quota-for-runtime-license.md index a5b9666..b640aac 100644 --- a/license/expand-quota-for-runtime-license.md +++ b/license/expand-quota-for-runtime-license.md @@ -6,7 +6,7 @@ description: How to expand the quota of a runtime license? needAutoGenerateSidebar: false --- -## How to expand the quota of a runtime license? +# How to expand the quota of a runtime license? The quota of a runtime license can indeed be expanded before the expiration of the license. This can be done in a couple of ways. diff --git a/license/how-hardware-is-bind-to-license.md b/license/how-hardware-is-bind-to-license.md index 27cfd5d..5905984 100644 --- a/license/how-hardware-is-bind-to-license.md +++ b/license/how-hardware-is-bind-to-license.md @@ -6,7 +6,7 @@ description: What I need to know about licensing process? needAutoGenerateSidebar: false --- -## What I need to know about licensing process? +# What I need to know about licensing process? - When devices are registered, they get a UUID that is generated based on some hardware and OS info. The exact breakdown of what is collected when using the mobile edition or server/desktop edition is mentioned [here](https://www.dynamsoft.com/license-server/docs/about/terms.html#generate-a-uuid). - Should the user change the OS (upgrade/downgrade), then the same device will take up a new license since the UUID that is generated for the device after the change will be different. diff --git a/license/offline-registration-license.md b/license/offline-registration-license.md index acfa2c1..ae23c54 100644 --- a/license/offline-registration-license.md +++ b/license/offline-registration-license.md @@ -6,7 +6,7 @@ description: How to use offline registration license type? needAutoGenerateSidebar: false --- -## How to use offline registration license type? +# How to use offline registration license type? You can follow the steps below to manually register the device and get the license key for each device: diff --git a/license/sdk-works-without-internet.md b/license/sdk-works-without-internet.md index 0dc6b73..f802fb3 100644 --- a/license/sdk-works-without-internet.md +++ b/license/sdk-works-without-internet.md @@ -6,7 +6,7 @@ description: Can the SDK work without internet connection? needAutoGenerateSidebar: false --- -## Can the SDK work without internet connection? +# Can the SDK work without internet connection? The SDK can indeed be used without an internet connection. In order to use the SDK without an internet connection, it is best to use the Self Hosting option when it comes to setting up the Dynamsoft License Server once you obtain a full license. If the Dynamsoft Hosted option is chosen, an internet connection will be needed for the per barcode scan and various per device license types in order to connect to the license server and validate the license. diff --git a/license/track-license.md b/license/track-license.md index b3ef357..3d7a31a 100644 --- a/license/track-license.md +++ b/license/track-license.md @@ -6,7 +6,7 @@ description: How to track the number of devices? needAutoGenerateSidebar: false --- -## How to track the number of devices? +# How to track the number of devices? The Dynamsoft License Server (Dynamsoft hosted or self-hosted) is able to keep a track of the number of devices in different ways, depending on the edition of the SDK.