Skip to content

EAN UPC Add ons

Terry Burton edited this page Apr 21, 2026 · 16 revisions

EAN-UPC Add-ons

These options control the appearance of the add-on (supplement) text for EAN/UPC barcodes with 2-digit or 5-digit add-ons.

addongap

The gap between the main barcode and the add-on, in points. Default is 12.

Example

Data:    5012345678900 12
Options: includetext addongap=20
Encoder: ean13

addontextfont

The font name of the add-on text.

Note

  • The font name must be the literal name of a PostScript available font.

Example

Data:    5012345678900 12
Options: includetext addontextfont=Courier
Encoder: ean13

addontextsize

The size of the add-on text, in points.

Example

Data:    5012345678900 12
Options: includetext addontextsize=15
Encoder: ean13

addontextxoffset

Overrides the default horizontal positioning of the add-on text.

Example

Data:    5012345678900 12
Options: includetext addontextxoffset=-10
Encoder: ean13

addontextyoffset

Overrides the default vertical positioning of the add-on text.

Example

Data:    5012345678900 12
Options: includetext addontextyoffset=-10
Encoder: ean13

addondescent

The distance that the add-on bars extend below the baseline, in multiples of the X-dimension. Defaults to the value of guarddescent, so the add-on bars match the primary guard bars unless overridden.

Set this to 0 to produce the traditional appearance where the add-on bars terminate at the baseline. Set it to a different value from guarddescent to have the primary guard bars and the add-on bars descend by different amounts.

Example

Data:    5012345678900 12345
Options: includetext addondescent=0
Encoder: ean13

Clone this wiki locally