lindell / lindell/JsBarcode

Can't Get 128 to Generate

Open
#454 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.9k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Whether I store the JS locally or reference it from a local drive, I can't get any type of CODE128 barcodes to generate. The first 2 barcodes look fine. The last one doesn't show anything, even when I use "CODE128", "CODE128 A", etc.

```HTML


Test Page


Barcode 3




JsBarcode("#barcode2", "9780199532179", {
format: "CODE39",
displayValue: true,
fontSize: 24,
lineColor: "#0cc"
});


Barcode 3



JsBarcode("#barcode3", "9780199532179", {
format: "CODE39",
displayValue: true,
fontSize: 20
});


Barcode 4



JsBarcode("#barcode4", "HELLO", { format: "CODE128 auto" });

```

Contributor guide

Open the contributing guide

Research direction

Start by running the provided HTML example with JsBarcode 3.3.20, comparing the working CODE39 cases with the CODE128 case. Trace the CODE128 generation entry point and verify completion when the final example renders a visible barcode.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.