Contributors mailing list archives

Browse archives


Re: EAN 13 pattern with barcodes_generator_product

Tecnativa. S. L., David Vidal
- 25/10/2023 18:47:54
You don't really need the variable stuff (which is a bit misleading IMO). You should be fine with a pattern like "8069235....." your merchant code + 5 secuential digits (the control digit is generated automatically by the EAN13 rule)

El mié, 25 oct 2023 a las 18:36, Francesco Foresti (<>) escribió:

I'm trying to use to generate barcodes using GS1 barcodes purchased by customer. 

I see in the readme the example:

For example, a typical pattern for products is "20.....{NNNDD}" that means that: * the EAN13 code will begin by '20' * followed by 5 digits (named Barcode Base in this module) * and after 5 others digits to define the variable price * a 13 digit control

The pattern I'd like to implement is 8069235 + 5 digits provided by barcode base + 1 check digit. 

How does this translate in the format from the example ("20.....{NNNDD}")? Does any one have any reference guide for this?



Francesco Foresti
Sicurpharma Srl

Post to: