What Code 32 (Italian Pharmacode) is
Code 32 is the Italian pharmaceutical industry's own barcode ("Codice 32"), used to encode a national drug identifier on Italian pharmacy packaging. bwip-js computes its own checksum digit and converts the result to a base-32 alphanumeric value before drawing it as a Code 39 symbol.
Generate it now
Enter your 8-digit Italian Pharmacode value to see a live preview -- bwip-js computes and appends the check digit for you.
Valid input
The value must be 8 or 9 digits ("Italian Pharmacode must be 8 or 9 digits"), digits only ("Italian Pharmacode must contain only digits"). With 8 digits, bwip-js computes and appends its own Modulo-10 check digit. With 9 digits, bwip-js verifies the 9th digit against that same computed check digit and rejects a mismatch ("Incorrect Italian Pharmacode check digit provided").
Key options
Supported options include includetext (show the human-readable pharmacode text). bwip-js's own real default is false.
Output and printing
Export SVG for pharmaceutical packaging artwork or PNG for a quick proof.
Common uses
Code 32 appears on Italian pharmaceutical packaging alongside (or instead of) other pack identifiers, for pharmacy dispensing and distribution tracking within Italy's own regulatory system.
Example
See the live preview above, seeded with a bwip-js-verified valid 8-digit value.
Size guidance
Since bwip-js draws Code 32 as a Code 39 symbol internally, it shares Code 39's own bar-width and quiet-zone conventions.
Troubleshooting
A rejected value is usually the wrong digit count (8 or 9 only), a non-digit character, or -- for a 9-digit value -- a check digit that does not match bwip-js's own computed value.
Related formats
Related formats: Pharmazentralnummer (PZN, the equivalent German pharmaceutical pack-identifier barcode) and Code 39 (the underlying symbol Code 32 delegates its own drawing to).
FAQ
Do I need to compute the Italian Pharmacode check digit myself?
No -- enter just your 8-digit value and bwip-js computes and appends the correct Modulo-10 check digit for you. If you supply a 9th digit yourself, bwip-js verifies it instead and rejects a mismatch.