EAN 5 - bwipp/postscriptbarcode GitHub Wiki

EAN-5

EAN-5 is the five-digit add-on code that accompanies an EAN or UPC type barcode symbol such as an ISBN or ISSN.

Also known as: Five-Digit Add-On, Five-Digit Supplement, UPC-5

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

Deprecated. Standalone use of the EAN-5 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, 978-1-873671-00-9 54499 for a symbol representing the ISBN 978-1-873671-00-9 with recommended retail price $44.99 USD denoted using a five-digit addon.

Data and Options

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

Example

Data:    90200
Options: includetext guardwhitespace
Encoder: ean5

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