Barcode is a tiny and light-weight jQuery plugin that has the power to generates 8 sorts of Barcode and outputs as CSS, BMP, SVG or Canvas to your work.
Barcode varieties supported:
- EAN 8
- EAN 13
- UPC
- customary 2 of 5 (industrial)
- interleaved 2 of 5
- code 11
- code 39
- code 93
- code 128
- codabar
- MSI
- Information Matrix
Output codecs supported:
- CSS
- BMP (not usable in IE)
- SVG (not usable in IE)
- Canvas (not usable in IE)
Primary Utilization:
1. Add the most recent jQuery javascript library and jQuery Barcode plugin in your doc.
<script src="http://code.jquery.com/jquery-latest.min.js"></script> <script sort="textual content/javascript" src="jquery-barcode.js"></script>
2. Create a container for the barcode.
<div id="demo"></div>
3. Producing a barcode.
$("#demo").barcode( "1234567890128", // Worth barcode (depending on the kind of barcode) "ean13" // sort (string) );
4. Varieties
- codabar
- code11 (code 11)
- code39 (code 39)
- code93 (code 93)
- code128 (code 128)
- ean8 (ean 8)
- ean13 (ean 13)
- std25 (customary 2 of 5 – industrial 2 of 5)
- int25 (interleaved 2 of 5)
- msi
- datamatrix (ASCII + prolonged)
5. Default settings to customise the generated barcode.
barWidth: 1, barHeight: 50, moduleSize: 5, showHRI: true, addQuietZone: true, marginHRI: 5, bgColor: "#FFFFFF", coloration: "#000000", fontSize: 10, output: "css", posX: 0, posY: 0
Changelog:
2022-09-08
- Updated jQuery & PHP variations
2022-01-08
2019-02-23
- jQuery up to date
- Additionally gives Java and PHP variations
This superior jQuery plugin is developed by jbdemonte. For extra Superior Usages, please examine the demo web page or go to the official web site.