GeneratorsLesson 48Free preview
Barcode Generator
This lesson is part of Web Developer Tools · All levels
Summary
A barcode generator converts text or numbers into a barcode image that can be pasted onto a product, label, or document. The tool typically provides some type of barcode symbol, high settings, as well as the option of displaying text underneath the image. Before using it, the results need to be tested with a scanner to make sure the data is read correctly.
Key points
- Barcodes encode data as patterns of lines and spaces of different widths
- The type of symbol should be as needed, e.g. EAN-13 for retail products
- EAN-13 uses 12 digits of data plus one check digit
- Leave the quiet zone on the left and right so the scanner can easily find the barcode boundary
- Test the printed results with a scanner to be used before mass printing
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.