JsBarcode
JsBarcode copied to clipboard
Forced CODE128 codes to B-C-B format.
With the auto mode, my postal code (2 letter, 9 digits, 2 letter) generated as B(3)-C(8)-A(2) coding. I need B(3)-C(8)-B(2) format, so I tried:
JsBarcode('#svg-barcode')
.options(barcodeConfig)
.CODE128B(code.substr(0, 3), {})
.CODE128C(code.substr(3, 8), {})
.CODE128B(code.substr(11, 2), {})
.render();
but it generates too long code. I think, each block adds a start/end character.
Is there any working solution for this concatenation?