Unexpected Result
- Dominant language
- JavaScript
- Stars
- 5.9k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description

These are my settings:
JsBarcode("#barcode", 'T11314CIQ137111HA4AYETP', {
format: "CODE128",
fontSize: 14,
textMargin: 0,
margin: 0,
width: 1,
height: 60,
})
For some reason it's returning a different value in my application as the first barcode shows in the image. The second barcode was generated by the demo barcode generator using the same settings so not sure why they would be different. I've tried [JsBarcode.code128.min.js](https://cdn.jsdelivr.net/npm/jsbarcode@3.11.0/dist/barcodes/JsBarcode.code128.min.js) and [JsBarcode.all.min.js](https://cdn.jsdelivr.net/npm/jsbarcode@3.11.0/dist/JsBarcode.all.min.js)
Contributor guide
Research direction
Start by reproducing the JsBarcode("#barcode", ...) call with the shown CODE128 settings, comparing the application output with the demo barcode generator. Check both JsBarcode.code128.min.js and JsBarcode.all.min.js; done means identifying why the same input and settings produce different barcodes or confirming the missing reproduction details.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100