Skip to main content

Pharmacode

Pharmacy & HealthcareAlso known as: Pharmacode

Published by the QRinsec Editorial Team — practical documentation about QR codes, barcode standards, and QRinsec’s client-side tools. Content is reviewed against product testing and published technical documentation from sources such as GS1, Denso Wave, and ISO standards where applicable.

Have questions or corrections? Contact us.

Pharmacode (Pharmaceutical Binary Code) is a control barcode designed for reliable reading on pharmaceutical packaging lines.

Important Notice

Pharmacode is not a retail or supply chain barcode — it is a production-line internal quality control code only.

Important Notice

Pharmacode has no check digit. Data integrity depends entirely on the packaging machine's comparison logic.

Key Facts

Encodes
Single integer (3–131,070)
Check Digit
None (machine-level comparison)
Read Direction
Right to left
Standard
Laetus GmbH proprietary
Use Case
Pharmaceutical packaging line QC only

What is a Pharmacode barcode?

Pharmacode (also called Pharmaceutical Binary Code) is a linear barcode symbology developed by Laetus GmbH specifically for the pharmaceutical packaging industry. Unlike most barcodes, Pharmacode encodes a single integer (from 3 to 131,070) in a binary scheme — narrow bars represent '1' and wide bars represent '2', with alternating bar-space groups read right to left. Pharmacode is used primarily by pharmaceutical packaging machinery (blister packers, cartoners, labellers) as a machine-readable pack check to prevent wrong-product packaging errors on high-speed production lines.

Binary encoding structure

Pharmacode encodes a single numeric value using a binary-weighted bar system:

  • Narrow bar (1 module): Represents binary value based on position.
  • Wide bar (2 modules): Represents binary value × 2.
  • Bars and spaces alternate; the code is read right to left.
  • Minimum 1 bar, maximum 16 bars.
  • The numeric value range is 3–131,070.

Because Pharmacode encodes only one integer, there is no character set — the encoded number is a machine-internal pack code assigned by the pharmaceutical manufacturer for a specific product/line/version.

No check digit

Pharmacode has no built-in check digit or error correction. Data integrity is ensured instead by the production line system: the packaging machine compares the scanned Pharmacode value to the expected value programmed for the current batch, and ejects or halts if they do not match. The machine-level comparison is considered more reliable for this application than a barcode check digit.

Pharmacode vs. Code 39 vs. GS1 DataMatrix

Pharmacode is not a general-purpose barcode — it encodes only a single integer and has no human-readable equivalent in the traditional sense. Code 39 and GS1 DataMatrix encode structured alphanumeric data readable by standard scanners. Pharmacode is read only by packaging line vision systems and dedicated Pharmacode readers. It is not printed for consumer or retail scanning — it is an internal production quality control code.

When to use Pharmacode

Pharmacode is used exclusively in pharmaceutical manufacturing for:

  • Blister pack and carton identification on packaging lines.
  • Machine vision pack-check systems to prevent mix-ups.
  • Label verification on high-speed labelling machines.

Pharmacists, patients, and retail systems never scan Pharmacode. It is a production-internal code only. For retail and supply chain identification, use EAN-13, GS1 DataMatrix, or PZN.

Printing requirements

Pharmacode is typically printed by pre-printing on folding carton artwork. Bar specifications: narrow bar width 0.375 mm–1.0 mm; wide bar width = 2× narrow; narrow space width = narrow bar width; wide space = not used. Height typically 10 mm minimum. Pharmacode readers (vision systems) are calibrated per production line — always confirm bar specifications with the packaging machinery vendor.

Common scanning failures

Pharmacode's biggest risk is the production machine reading the correct barcode from the wrong pack (orientation flip). Because Pharmacode reads right-to-left, a reversed symbol gives a completely different numeric value — proper registration marks or orientation-confirming readers are essential. Print defects that alter bar width ratios can also cause the machine to read an incorrect numeric value and trigger a false rejection.

Comparison

FeaturePharmacodePZNGS1 DataMatrix
Data TypeSingle integer (3–131,070)8-digit product codeStructured GS1 AIs
Check DigitNoneModulo 11Reed-Solomon ECC 200
Scanned ByPackaging machine onlyPharmacy POSHealthcare / logistics
PurposeProduction line QCProduct identificationSerialisation / traceability

Frequently Asked Questions

Can a standard barcode scanner read Pharmacode?

Most standard retail barcode scanners cannot decode Pharmacode. It requires a dedicated Pharmacode reader or a vision system calibrated for pharmaceutical packaging applications.

What number does Pharmacode encode?

Pharmacode encodes a single integer between 3 and 131,070. This number is a machine-internal pack code assigned by the manufacturer — it has no standardised meaning outside the specific production line.

Why does Pharmacode have no check digit?

Pharmacode relies on the packaging machine's comparison logic: the machine is programmed with the expected code for the current batch and ejects or halts on mismatch. This closed-loop verification is considered sufficient without a barcode-level check digit.

What is the difference between Pharmacode and PZN?

PZN is a national German product identifier printed for pharmacy POS scanning. Pharmacode is a production-line internal code for packaging machine verification — it is never intended for retail or pharmacy scanning.

Is Pharmacode used outside the pharmaceutical industry?

Rarely. Some cosmetics and medical device packaging lines use Pharmacode for the same machine-vision pack-check purpose, but it remains predominantly pharmaceutical.

What happens if the Pharmacode is printed incorrectly on a carton?

The packaging machine will read the wrong numeric value, trigger a mismatch against the expected code, and eject the carton or halt the line. This is the intended safety mechanism.

Need to create a Pharmacode barcode?

Generate high-quality, scannable Pharmacode barcodes for free with our advanced barcode generator. Download in vector SVG or PNG format.

Create Pharmacode Barcode Now