samt / barcode

barcode generation for nodejs
MIT License
69 stars 59 forks source link

Human readable barcode #11

Open Karabi-Choudhury opened 9 years ago

Karabi-Choudhury commented 9 years ago

I have generated the barcode .But it doesn't have barcode written below the image.Can we do something to make the barcode appear below the image

samt commented 9 years ago

Thanks for opening this issue, it's been on my mind for a while.

I've actually been toying with implementing that kind of system, the problem I'm running into is the fact that not all fonts are supported, and barcodes have different styles of numbers beneath them typically - which is often a pseudo-standard and is therefore hard to implement completely.

Some examples:

Code128

code128


ISBN-13

nzxvm


UPC-A

barcode_example


Some barcodes even have the code itself along with some kind of really human-readable label. For common items that do not have barcodes, there might be a binder of them you scan, but maybe this is taking it way too close to userspace implementations.

That being said, I totally am not against wanting to provide this functionality, just looking for a better way implement this.

Karabi-Choudhury commented 9 years ago

Thanks @samt .Actually i had a requirement to print such barcodes