Skip to content

EAN UPC Guards

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

EAN-UPC Guards

These options control the whitespace guards (quiet zone indicators) for EAN/UPC barcodes.

guardwhitespace

Display whitespace guards.

Example

Data:    95200002
Options: includetext guardwhitespace
Encoder: ean8

guardwidth

Width of the whitespace guards, in points.

Example

Data:    95200002
Options: includetext guardwhitespace guardwidth=0
Encoder: ean8

guardheight

Height of the whitespace guards, in points.

Example

Data:    95200002
Options: includetext guardwhitespace guardheight=15
Encoder: ean8

guardleftpos

Override the default horizontal position of the left whitespace guard.

Example

Data:    95200002
Options: includetext guardwhitespace guardleftpos=10
Encoder: ean8

guardrightpos

Override the default horizontal position of the right whitespace guard.

Example

Data:    95200002
Options: includetext guardwhitespace guardrightpos=10
Encoder: ean8

guardleftypos

Override the default vertical position of the left whitespace guard.

Example

Data:    95200002
Options: includetext guardwhitespace guardleftypos=20
Encoder: ean8

guardrightypos

Override the default vertical position of the right whitespace guard.

Example

Data:    95200002
Options: includetext guardwhitespace guardrightypos=20
Encoder: ean8

guarddescent

The distance that the guard bars extend below the data bars, in multiples of the X-dimension. Default is 5.

Example

Data:    9780123456786
Options: includetext guarddescent=10
Encoder: ean13

Clone this wiki locally