A while ago I was working on a merchant coupon function, which required the use of barcodes, so I reorganized the data.
1. What is a barcode?
Baidu Encyclopedia definition: Barcode is a graphical identifier that expresses a set of information by arranging multiple black bars and blanks of varying widths according to certain encoding rules. A common barcode is a pattern consisting of black bars (referred to as bars) and white bars (referred to as spaces) with very different reflectivities arranged into parallel lines. In daily life, barcodes can indicate the country of production, manufacturer, product name, production date, book classification number, mailing address starting and ending, category, date and many other information. Please refer to the printed coupon from
for the specific barcode encoding format. Merchants need to use a validator to read the barcode to obtain its validity.
2. How to generate barcode?
First find powerful open source information in