Navigation
EAN-13 Barcode
Overview
The International Article Number (also known as European Article Number or EAN) is a barcode symbology used in retail business to specify the manufacturer and model of a product. EAN-13 and its variation EAN-8, is the most widely used EAN today.
A 2-digit country code plus a 5-digit manufacturer code, plus a 5-digit product code, plus a check digit, make up an EAN13 barcode.
When the leading 2-digit country code is 45 or 49, this barcode is a Japanese Article Number (JAN).
Smaller product packages use the 8-digit EAN8 barcode.
To show manufacturer’s suggested retail price, people put A 2-digit or 5-digit supplemental barcode to the right of an EAN13 barcode.
Here is the mapping table of ean13 barcode font
Upc-a barcode font mapping table
| Character | Mapping | Character | Mapping |
|---|---|---|---|
| Start | [ | Stop | ] |
| Supplement Start | { | Supplement Stop | } |
| Central Guard | | | Supplement Separator | \ |
| Text Only | 0xE0 - 0xE9 | UPCE Stop Character | ' |
| Lefthand B with HR | PQWERTYUIO | Lefthand B without HR | pqwertyuio |
| Righthand with HR | :ASDFGHJKL | Righthand without HR | ;asdfghjkl |
| Lefthand A with HR above | /zxcvbnm,. | Lefthand B with HR above | ?ZXCVBNM<> |
| Lefthand A with HR below | 0123456789 | Lefthand A without HR below | ~!#&40;#$%^&*(<> |
If you use Barcodesoft EAN13 fonts to print bar code, please use our Encoder to calculate checksum for you. You can also find source code in VBA and C language of EAN13 checksum calculation in the package.
There are 6 fonts contained in the package as listed below, marked by different trailing aspect ratio indicators. Barcodesoft EAN13 barcode fonts vary in aspect ratios.
Here is the list of Barcodesoft EAN13 Barcode Fonts
| Aspect Ratio | Font |
|---|---|
| XS | UPCEANXS |
| S | UPCEANS |
| M | UPCEANM |
| L | UPCEANL |
| XL | UPCEANXL |
| XXL | UPCEANXXL |
Barcodesoft EAN13 barcode fonts are available in true type, PostScript and PCL formats and can be embedded into Adobe PDF files.
Here is the list of Barcodesoft ean13 Barcode Fonts
Barcodesoft Upc-A Barcode Fonts Pricing
| License Type | Single | 5-User | 10-User | Site | Corporate | Dev | 5-Dev | 10-Dev | Unlimited |
|---|---|---|---|---|---|---|---|---|---|
| Price | CAD159 | CAD299 | CAD399 | CAD599 | CAD799 | CAD999 | CAD1199 | CAD1399 | CAD1999 |
Generate EAN 13 Barcode in Crystal Reports
How to generate a EAN 13 barcode in Crystal Reports?
To generate a EAN 13 barcode in Crystal Reports, create a new formula field using the BCSLinearEAN13 function from the Barcodesoft UFL library. Pass your database fields as arguments, place the formula field on your design canvas, and apply the UpcEanM font family.
-
Step 1: Determine SAP Crystal Reports Bitness and Register DLL
Determine the bitness of your SAP Crystal Reports version. SAP Crystal Reports 2008 through 2016 are 32-bit, while SAP Crystal Reports 2020 and 2025 are 64-bit.
For 64-bit Crystal Reports (2020 / 2025):
Run Command Prompt as Administrator and execute:
cd "C:\Program Files\Common Files\Barcodesoft\FontUtil"
%systemroot%\System32\regsvr32.exe cruflbcs_x64.dll
For 32-bit Crystal Reports (2008–2016):
Run Command Prompt as Administrator and execute:
cd "C:\Program Files\Common Files\Barcodesoft\FontUtil"
regsvr32.exe cruflbcs.dll
-
Step 2: Create a New EAN 13 Formula Field
Open your Crystal Report layout. Right-click Formula Fields in the Field Explorer pane and select New... from the context menu. Type "UpcEanM" in the Name textbox, then click the Use Editor button.
-
Step 3: Locate the Barcodesoft Ean13 Function
In the Formula Workshop, navigate to the Additional Functions directory and double-click the
BCSLinearEAN13function listing located under the Visual Basic UFLs node.
-
Step 4: Use Your Database Field as a Parameter for Ean13 formula
Provide your target database field as the primary string parameter inside the formula brackets. Click the Save button to validate and preserve your new formula logic configuration.
-
Step 5: Insert ean13 Formula Field Into Your Report Canvas
Drag your newly saved
ean13formula field out of the Field Explorer and drop it onto the design view grid canvas area where you want ean13 barcode to appear.
-
Step 6: Apply the UpcEanM Font Typeface
Right-click the placed formula text block object on your canvas and choose Format Field from the context menu. In the Font customization tab pane, select "UpcEanM" from the font family drop-down menu selection list.
The package includes six TrueType fonts: UpcEanXXL, UpcEanXL, UpcEanL, UpcEanM, UpcEanS, and UpcEanXS. Each font is designed with a different aspect ratio, allowing you to select the one that best suits your application requirements.
-
Step 7: Verify EAN 13 Barcode Generation
Click the OK button to apply changes. The text string placeholders will immediately transform and render as an active, readable EAN 13 barcode inside your report template preview layout.

