-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
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.
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF_8">
<title>Test Page</title>
<!-- <script type="text/javascript" src="./JsBarcode.all.min.js"></script> -->
<script src="https://cdn.jsdelivr.net/jsbarcode/3.3.20/JsBarcode.all.min.js"></script>
</head>
<body>
<div>
<P>Barcode 3</P>
<img id="barcode2" />
<script>
JsBarcode("#barcode2", "9780199532179", {
format: "CODE39",
displayValue: true,
fontSize: 24,
lineColor: "#0cc"
});
</script>
</div>
<div>
<P>Barcode 3</P>
<img id="barcode3" />
<script>JsBarcode("#barcode3", "9780199532179", {
format: "CODE39",
displayValue: true,
fontSize: 20
});</script>
</div>
<div>
<P>Barcode 4</P>
<svg id="barcode4"></svg>
<script>JsBarcode("#barcode4", "HELLO", { format: "CODE128 auto" });</script>
</div>
</body>
</html>Metadata
Metadata
Assignees
Labels
No labels