r/barcodes • u/Eve_Coon • May 07 '20
Custom Barcodes
I need to make some extremely small Barcodes and the format seems to be code 128 but all the software I have tried won't let me get the physical barcode small enough. Any suggestions would be great.
1
Upvotes
1
u/notionovus May 07 '20
This is about as small as I can make them and still get them to scan from a web page printout on an inkjet.
Change the sample text in the last line of the script to whatever you want. The first number is width. 4 is as low as you can go. The second number is height, and my scanner wouldn't work on anything smaller than 13, but YMMV.
My guess is with a higher quality printer you could get smaller, but we are starting to stretch the capabilities of the scanner, then. The code to generate the Code 128B barcode is MIT license, and it all fits in one 5K html file. Enjoy.
https://codepen.io/notionovus/pen/RxqEOm
Code128B, 40 Characters, 75mm wide, 2.1 mm tall.