EAN 2 - bwipp/postscriptbarcode GitHub Wiki

EAN-2

EAN-2 is the two-digit add-on code that accompanies a EAN-13 or UPC type barcode symbol such as an ISBN or ISSN.

Also known as: Two-Digit Add-On, Two-Digit Supplement, UPC-2

Note: The use of a two-digit add-on with EAN-8 is not defined by any symbology standard.

Deprecated. Standalone use of the EAN-2 encoder is discouraged. It is better to include an addon by specifying the supplicant's value as an extension to the data for the primary symbol. For example, 0317-8471 03 17 for a symbol representing the ISSN 0317-8471 (having sequence number 03) and with issue number 17 denoted using a two-digit addon.

Data and Options

  • The data field must contain two digits.
  • The includetext option should normally be supplied.

Example

Data:    05
Options: includetext guardwhitespace
Encoder: ean2

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