When your file has a barcode, it must meet several quality requirements. This prevents it from being illegible after the label has been printed.
Taking into consideration the following points when adding barcodes in the design/artwork:
Height
Never shorten the height of a barcode. The ratio between the height and width of a barcode always remains the same. By shortening the height of a barcode, you may compromise the integrity of the barcode and will be no longer be possible to scan it properly from different angles.
Dimensions
The dimensions of EAN-13 and EAN-8 are precisely specified. For the EAN-13 barcode, use a size of 22.85mm x 37.29mm at 100%. For the EAN-8, use 18.23mm x 26.73mm.
It is possible that the barcode must be displayed larger or smaller. Use an enlargement factor for this. Do not reduce the barcode by more than 80% and do not enlarge the barcode by more than 200%. The ratio between width and height must remain the same.
DPI
Always choose a barcode with a resolution of at least 300 DPI. This ensures that the barcode remains legible and scannable. Preferably use a vector file as a barcode. If you vector/outline your barcode, it can be possible to reduce the barcode to 60%.
Contrast
In order to scan the barcode properly, high contrast is important. Preferably place the black barcode on a white background. We also recommend giving the barcode the color 100% black.