Do you need to generate an EAN-13 barcode directly in Adobe Illustrator? With this free EAN 13 barcode script, it’s easy and simple.
In this blog post, I’ll describe how the EAN-13 barcode script works and cover the known issues. The EAN13 Barcode script is available here.
Those who already have this script can re-download it as some minor updates and improvements have been made.
Calling attention to one issue that this script only worked if 13 digits were placed as point text. In the new update, it should work with both point and area text.
Additionally, I also updated the alert text, when the barcode is not correct. In case the barcode is incorrect, the alert will suggest the correct checksum digit for your barcode. Even so, you should be aware that I still recommend checking the entire barcode number.
Moreover, one of the things that didn’t really suit me was that this script didn’t work if some locked or hidden layers existed. Now, if the layer is locked or hidden, the script will not select these numbers.
In addition, the entire barcode is created on the same layer on which the corresponding text was placed.
1. Download the ZIP folder
2. Extract the JSX file from ZIP folder.
3. Place the EAN13Barcode.jsx file in:
Win (32 bit): C:\Program Files (x86)\Adobe\Adobe Illustrator [vers.]\Presets\en_GB\Scripts\
Win (64 bit): C:\Program Files\Adobe\Adobe Illustrator [vers.] (64 Bit)\Presets\en_GB\Scripts\
Mac OS: /Applications/Adobe Illustrator [vers.]/Presets.localized/en_GB/Scripts
4. Restart Illustrator
5. The script should be visible now under File > Scripts > EAN13Barcode
NOTE: The OCRB Std font also needs to be installed on your computer. This font is available at Adobe TypeKit.
How the EAN13 barcode script works
Write 13 digits as text in an open Adobe Illustrator document and run the script. The size of your barcode will depend on the size of your text. The default Myriad Pro 12 points text will generate a barcode group of around 3 cm.
If the text is rotated, then the barcode will also rotate.
Using EAN-13 barcode script wit Data sets and the Batch action
I experienced, that several users have asked if the EAN13 barcode script can be used with datasets and batch action. Unfortunately, in the current version of the EAN13 barcode script, this is not possible, but I have plans to improve the script in this direction.
In the meantime, I can suggest the procedure described below.
First run the Batch action, that will save all Data sets as separated documents in a folder.
Afterwards, run the EAN13 barcode script as a new Batch action using the newly created folder.
This saves all sets as separated files with the barcodes created.
I hope, that this blog post was helpful and you’ll be glad to use EAN13 barcode script.