My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Ean8  
Updated Mar 1, 2012 by terry.burton

Overview

EAN-8 is a shortened form of EAN-13 holding less data.

Variant

EAN-13 is a longer variant of EAN-8.

EAN-8 Composite is a variant that should be used when a CC-A or CC-B GS1 composite 2D component is required.

Invoking

  • The data field takes either 7 or 8 digits, optionally followed by a space then 2 or 5 digits if an addon is required.
  • If 7 digits of primary data are supplied the the 8th checkdigit is calculated automatically, otherwise the digits are encoded as supplied.
  • The includetext option should normally be supplied.
  • The guardwhitespace option enables the display of whitespace guard marks.

Examples

Identical symbols, input provided with and without a check digit:

0 0 moveto (01335583) (includetext) /ean8 /uk.co.terryburton.bwipp findresource exec
0 0 moveto (0133558) (includetext) /ean8 /uk.co.terryburton.bwipp findresource exec

Truncated with whitespace guards:

0 0 moveto (01335583) (includetext height=0.5 guardwhitespace) /ean8 /uk.co.terryburton.bwipp findresource exec

Powered by Google Project Hosting