Skip to content

Commit f1258f6

Browse files
committed
Add JS Barcode Generator
1 parent 7ac0023 commit f1258f6

File tree

4 files changed

+22
-3
lines changed

4 files changed

+22
-3
lines changed

JsBarcode.code39.min.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
# lto-barcodes
22
Small Webapp to generate LTO tape barcodes
33

4-
https://lto-barcodes.dicp.net
4+
This is code I initially wrote for https://bawue.net in 2007, updated for a current PHP version
5+
and improved layout.
56

7+
Demo Site: https://lto-barcodes.dicp.net
68

79
### Sources
810

911
* FPDF: https://www.fpdf.org
1012
* OCR Font: https://tsukurimashou.org/ocr.php.en
13+
* JSBarcode: https://github.com/lindell/JsBarcode

index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<link rel="stylesheet" type="text/css" href="lto.css">
88
<script type="text/javascript" src="lto.js.php" defer></script>
9+
<script type="text/javascript" src="JsBarcode.code39.min.js"></script>
910
</head>
1011
1112
<body onload="Init()">
@@ -80,7 +81,7 @@
8081
<div id="mediatype" class="letter mediatype">L1</div>
8182
</div>
8283
<div class="barcode">
83-
<img src="barcode.png" alt="Barcode" style="max-width: 100%; height: auto;" />
84+
<img src="barcode.png" alt="Barcode" id="barcode" style="max-width: 100%; height: auto;" />
8485
</div>
8586
</div>
8687
@@ -103,4 +104,3 @@
103104
104105
</body>
105106
</html>
106-

0 commit comments

Comments
 (0)