CODE 32 Italian pharmacode barcode in PHP: AIC number input, check digit, code example and SVG output
Your support helps keep this website running. Please consider supporting this project. SPONSORDONATE
- Nicola Asuni
Every medicine sold in Italy carries a nine-digit AIC number. CODE 32 converts that number to six characters in radix 32 and draws them as a CODE 39 symbol, so the printed symbol is shorter than the number it represents. AIFA assigns the AIC number; the library encodes whatever it is given.
Type Token
Item
Value
Type token
C32
Enum case
BarcodeType::C32
Family
Linear
Standard
Italian Pharmacode, IMH, radix 32
Class
\Com\Tecnick\Barcode\Type\Linear\CodeThreeTwo
Input
Item
Value
Character set
digits
Length
8 digits, or 9 with a valid check digit
Check
modulo 10, appended when the payload is 8 digits and verified when it is 9