Barcodes

EAN13 – Converts string to EAN13 barcode glyphs

108 views June 1, 2018 February 26, 2019 admin 0

Overview

This Custom Field creates the glyphs required to translate an 13 digit code to an EAN barcode. Using the EAN13 field requires a specific barcode font which matches the font elements exactly.

Important note: You cannot simply display a barcode using the raw barcode number and a barcode font. You must convert the barcode number as shown below.

Syntax

EAN13(SourceCode)

Element Description
SourceCode A code for which an EAN13 barcode will be returned.

Application

Using EAN13 allows you to automatically include 13 digit EAN barcodes in your catalogue, without the need to create separate barcode images using additional software.

The eanbwrp36tt font and eanbwrp72tt font are free barcode fonts available for download.

Worked Example

The following example shows how the EAN13 function may be used in the context of a catalogue:

Syntax

EAN13(‘ProductCode‘)

Explanation

In this example, the EAN13 function creates the required glyphs to allow a 13 digit EAN barcode to be rendered using a barcode font.

Panel view

  1. Raw ProductBarcode number
  2. EAN13 representation of ProductBarcode number ready for use on the page

Additional Notes

A barcode is simply a graphic representation of a numeric string (in this instance a 13 digit number) which is able to be scanned by a barcode scanner.

See also

CODE128

EAN8

GETBARCODEGLYPHS

I2OF5

UPC

Was this helpful?