EAN UPC Guards - bwipp/postscriptbarcode GitHub Wiki

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

⚠️ **GitHub.com Fallback** ⚠️