Skip to content
Terry Burton edited this page Mar 26, 2014 · 18 revisions

#summary Reference for EAN-8

=EAN-8=

EAN-8 is a shortened form of the [Ean13 EAN-13] barcode symbology holding less data that usually carries a GTIN-8.

Also known as: UCC-8, JAN-8.

Variants:

  • EAN-8+2 is an extension of EAN-8 that includes a [Ean2 two digit add-on].
  • EAN-8+5 is an extension of EAN-8 that includes a [Ean5 five digit add-on].
  • EAN-Velocity is a special form of EAN-8 starting with 0 that is used for in-store coupons.
  • [Ean13 EAN-13] is a longer variant of EAN-8.
  • [Gs1Composite EAN-8 Composite] is a variant of EAN-8 that should be used when a CC-A or CC-B [Gs1Composite GS1 composite] 2D component is required.

Standards: ISO/IEC 15420, BS EN 797, GS1 General Specifications.

===Data and Options===

  • The data field takes either 7 or 8 digits, optionally followed by a space then two or five digits if an [Ean2 EAN-2] or [Ean5 EAN-5] add-on is required.
  • If 7 digits of primary data are supplied the the 8^th^ checkdigit is calculated automatically. Otherwise the provided checkdigit must be correct.
  • 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 }}}

http://wiki.postscriptbarcode.googlecode.com/git/images/ean8-1.png

Truncated with whitespace guards:

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

http://wiki.postscriptbarcode.googlecode.com/git/images/ean8-2.png


Symbologies Reference

Point of Sale

GS1 DataBar

Supply Chain

Two-dimensional Symbols

One-dimensional Symbols

Postal Symbols

Pharmaceutical Symbols

Less-used Symbols

GS1 Composite Symbols

Raw Symbols

Partial Symbols

Clone this wiki locally