javascript or php - how to read consumer bill bills [closed]

-1

Dear, someone would know how to read barcodes from consumer accounts (light, gas etc.) to get value, due date, etc. in javascript or php? Thanks!

    
asked by anonymous 14.10.2017 / 19:09

1 answer

1

I particularly like from this library , simple to use and effective:

You simply have to create a img , svg or canvas tag and tell javascript

<svg id="barcode"></svg>
<!-- ou -->
<canvas id="canvas"></canvas>
<!-- ou -->
<img id="barcode"/>

Javascript

JsBarcode("#barcode", "ola!");
// ou jQuery
$("#barcode").JsBarcode("ola!");

Example taken from the library's own documentation!

    
14.10.2017 / 20:06