I would like to automatically generate EAN-13 barcodes (European Article Numbers). An EAN-13 barcode is a barcoding standard which is a superset of the original 12-digit Universal Product Code (UPC) system. The first two or three digits of the GTIN of any product identify the GS1 Member Organisation which the manufacturer has joined. How can I do this?
an EAN is generated with numbers that are specific for your company.
You should have a registration at GS1.
They will give you an unique set of 5 numbers.
The other numbers can be determined by the company itself.
There are rules to check the validity.
A quick research gave me this site: