Standards/codablock-f
Codablock-F
Overview
Codablock F is a stacked barcode symbology made of 2 to 44 rows, each of which is a Code 128 row 12. A row holds 4 to 62 data characters, and a symbol holds up to 2,725 characters 12. Data can be any ISO/IEC 8859-1 (Latin-1) byte, with the Code 128 shift character FNC4 reaching the upper half of the set 28. Identcode Systeme GmbH in Germany developed it in 1989 to fit a long message into a small space 1. AIM Europe published it in 1995 as a Uniform Symbology Specification, which AIM now sells only as a historical document 35. Its main application was health-industry labelling under HIBC 12.
History
Codablock family (1989). English Wikipedia says Identcode Systeme GmbH invented the Codablock family in Germany in 1989, and names Heinrich Oehlmann as the inventor 2. German Wikipedia credits the firm ICS International under its then managing director Heinrich Oehlmann, together with Harald Oehlmann 4. Seagull Scientific's barcode guide also dates Codablock F to Identcode Systeme in 1989 1.
Codablock A (1994). The first variant stacked Code 39 rows. English Wikipedia gives 2 to 22 rows of 1 to 61 characters, up to 1,340 characters, with a modulo-43 check over the whole block, and says AIM standardised it in 1994. It saw little use because of Code 39's limits 2. German Wikipedia gives the same row and capacity limits but a minimum of 2 characters per row 4.
Codablock 256. An internal Identcode variant stacked Code 128 rows, encoded all 256 Latin-1 characters with FNC4 and gave every row its own error correction. Code 128 scanners had trouble reading it, so it was never standardised. Its 8-bit encoding was added to Codablock F instead 2.
Codablock F (1995). AIM's store lists ISS – CODABLOCK F – X-24 with a publication date of 1995. It describes the document as a Uniform Symbology Specification covering the character encodation, symbol formats, tolerances, dimensions, decoding algorithms and user-defined application parameters 3. Zint's manual cites it as "AIM Europe ISS-X-24 - Uniform Symbology Specification Codablock F (1995)" 5. German Wikipedia says Codablock F spread through Europe in the 1990s, mainly in medicine and health care under the HIBC standard 4.
No public source gives the date of the first deployment, or names who wrote the AIM Europe specification.
Technical specification
Row structure. Each row contains, in order 1:
| Element | Notes |
|---|---|
| Leading quiet zone | at least 10X 1 |
| Start character | always Code 128 Start A 27 |
| Character subset selector | sets the row's starting Code 128 subset (A, B or C) 17 |
| Row indicator | the row count in the first row, the row number in later rows 2 |
| Data characters | 4 to 62 per row; rows must be filled completely, with filler characters if needed 1 |
| Data check characters K1, K2 | last row only 27 |
| Row check character | Code 128 modulo-103 check 12 |
| Stop character | Code 128 Stop 2 |
| Trailing quiet zone | at least 10X 1 |
A horizontal separator bar runs between rows across the full width of the symbol, excluding the start and stop characters 1. Zint's encoder counts five overhead characters per row (Start A and the subset selector, the row indicator, the row check and the stop). It writes the first row's indicator as the number of rows minus 2, and every later row's indicator as its zero-based row index plus 42, before mapping each value to a symbol character in the row's subset 7. The row indicators tell a reader the orientation and order of the rows 26. Because each row is a complete Code 128 row, Wikipedia says standard Code 128 reading equipment works with slight modification or none 2.
Character set. Codablock F inherits Code 128's three subsets 1:
| Subset | Content |
|---|---|
| A | digits, uppercase letters, punctuation, control characters (ASCII 0–95) |
| B | digits, upper- and lowercase letters, punctuation (ASCII 32–127) |
| C | digit pairs 00–99, one symbol character per pair |
A symbol can switch subsets within and between rows 1. Wikipedia says runs of at least 4 digits can be compressed into half the usual space 2. Bytes 128–255 are encoded with FNC4, and readers interpret the data as ISO/IEC 8859-1 8.
Error detection. The sources describe only error-detecting checks for Codablock F, no error correction. Every row carries a modulo-103 check, and the last row carries two modulo-86 data check characters over the whole message 12. Zint computes them from the message bytes c₀…cₙ₋₁ as K1 = Σ (i+1)·cᵢ mod 86 and K2 = Σ i·cᵢ mod 86, citing Annex F of the specification 7. OkapiBarcode uses the same formula and counts FNC1 as the value 29 (GS) 11. Neither check character has a human-readable form 1. Wikipedia contrasts this with Codablock 256, which had per-row error correction 2.
Capacity. Seagull, Lexmark and Wikipedia give 2,725 characters 126. Zint's limit is 2,726 symbol characters. That means up to 2,726 ASCII characters, 5,452 digits, or 1,363 extended-ASCII characters, each of which takes an FNC4 plus a character 5. OkapiBarcode's documentation gives a lower practical figure of "approximately 1000 alpha-numeric characters or 2000 numeric digits" 11. Honeywell's N56XX scan engines accept Codablock F messages of 1 to 2,048 characters 9.
Function characters and GS1. BWIPP accepts FNC1 and FNC3. Its readerinit option puts FNC3 at the start to mark a reader-programming symbol, and cannot be combined with FNC1 in first position 8. According to OkapiBarcode, GS1 does not list Codablock F as a GS1-supporting symbology, although it carried EAN/UCC application identifiers before EAN and UCC became GS1. Okapi allows GS1 mode anyway 11. TEC-IT's TBarCode offers a UCC/EAN format for Codablock F 12, while Zint does not support GS1 data in Codablock F 5.
Symbology identifier. In table 1 of ISO/IEC 15424:2008, Codablock has the identifier letter "O" 10. Honeywell's N56XX guide lists the AIM ID of Codablock F as ]Om, with modifiers 0, 1, 4, 5 and 6, and that of Codablock A as ]O6 9.
Dimensions in encoders. In BWIPP, columns sets the data columns (4–62, default 8) and rows sets the rows (2–44, default the fewest that fit). rowheight takes 8–50 modules (default 10) and sepheight takes 1–5 modules (default 1) 8. Zint's --cols takes 9 to 67 because it includes the 5 overhead characters, and its --rows goes up to 44 57.
Use cases
- Health industry (HIBC). Wikipedia says Codablock was used mostly in the health care industry for HIBC data 2, and Seagull says it was used mainly in the medical and electronics industries 1. German Wikipedia names blood bags and dental products as its standard examples 4. BWIPP's HIBC Codablock F variant should be used when encoding HIBC-formatted data 8. Zint's HIBC Codablock F adds the leading
+flag and a check character 5, which the HIBC supplier standard calculates modulo 43 whatever the symbology 1516. - Blood labelling. The guidelines site of Eurocode IBLS (International Blood Labelling Systems) has a Codablock F page. It points to Elmicron's Short Form Specification CODABLOCK F 990215/E (1999) and to the AIM specification 13. The current Eurocode Technical Specification (version 2.2, June 2023) recommends only Code 128 and Data Matrix 14.
- Electronics. Seagull names the electronics industry as the other main user 1. No source found names a specific electronics deployment.
- Printers and point-of-sale software. Lexmark lists Codablock F among the barcodes supported by its forms software and printer Bar Code Card 6. Microsoft's
Windows.Devices.PointOfServiceAPI defines aBarcodeSymbologies.CodablockFvalue 18. - Industrial readers. Honeywell's N56XX scan engines decode Codablock F with the setting off by default 9, as do di-soric's ID-100 and ID-200 handheld readers 19.
Implementations
Encoders.
- BWIPP and bwip-js. BWIPP provides
codablockfand the HIBC variant. Its options arecolumns,rows,rowheight,sepheight,parse,parsefncandreaderinit8. bwip-js, the JavaScript port that renders this page's playground, listscodablockfandhibccodablockf. Version 4.11.4 (19 Aug 2026) bundles BWIPP 2026-05-28 20. Later BWIPP releases fixed the encoder to give the symbol its 10X side quiet zones (2026-10-24) and addedreaderinitto Codablock F (2026-10-26) 21. The playground sampleCODABLOCK F BARCODER 0123456789withcolumns8 uses only Code 128 characters, and its 10 trailing digits are suitable for subset C compression 12. - Zint (C). Zint has
BARCODE_CODABLOCKF(74) andBARCODE_HIBC_BLOCKF(110) 5. Itscodablock.cnames Harald Oehlmann as copyright holder from 2016 7. - OkapiBarcode (Java). OkapiBarcode implements Codablock F according to the 1995 AIM Europe specification 11.
- Commercial. TEC-IT TBarCode encodes Codablock F 12, and Aspose.BarCode for .NET can decode it as
DecodeType.CodablockF22.
Decoders. No open-source decoder was found. Neither zxing-cpp nor ZXing lists Codablock F among its supported formats 2324. Because every row is a self-contained Code 128 row, a generic Code 128 reader can read the rows one at a time. Joining them into one message, and checking K1 and K2, needs Codablock-aware logic 27.
Comparison
| Codablock F | Code 16K | Code 49 | PDF417 | |
|---|---|---|---|---|
| Row base | Code 128 1 | Code 128 5 | own; a cross between UPC and Code 39 5 | codewords, at most 925 5 |
| Rows | 2–44 1 | 2–16 5 | 2–8 5 | — |
| Characters per row | 4–62 1 | 5 25 | — | — |
| Maximum data | 2,725 characters 1 | 77 characters or 154 digits 5 | 49 characters or 81 digits 5 | 1,850 text characters or 2,710 digits at EC level 0 5 |
| Checking | modulo-103 per row, 2 × modulo-86 1 | 2 × modulo-107 5 | — | error correction levels 5 |
Codablock F and Code 16K both stack Code 128. Zint dates Code 16K to 1988 (Ted Williams, LaserLight Systems) 5, while English Wikipedia's Code 16K article gives 1989 25. Code 16K has at most 16 rows of five characters, while Codablock F's up to 44 rows of up to 62 characters hold far more data 1525. Its selling point, according to both Wikipedias, was that existing linear scanners could read it 24. HIBC's provider standard (ANSI/HIBC 1.3-2010) prefers Data Matrix, QR Code 2005 and Aztec Code for multi-field data, and allows Code 39 or Code 128 for single fields. It does not name Codablock F 17.
Fun facts
- 2D on a laser scanner. Wikipedia credits Codablock with a pioneering role in 2D codes, because it could be read reliably by the laser scanners of its time with only the slightest modification 2.
- A familiar name in the source code. German Wikipedia names Harald Oehlmann among Codablock's originators 4, and the same name appears as copyright holder of Zint's Codablock F encoder from 2016 7.
- A mislabelled check digit. Zint's manual says its HIBC Codablock F adds a "modulo-49" check digit 5. Zint's code computes it modulo 43 16, as ANSI/HIBC 2.6 requires for every HIBC LIC symbol 15.
Status
Historical. AIM's store files ISS – CODABLOCK F – X-24 under "Historical Archive" and marks it "THIS DOCUMENT IS NOT CURRENT", suitable for "someone who has historical interest" 3. Wikipedia says Codablock has been fully replaced by Data Matrix 2. Neither HIBC's provider standard (2010) nor the current Eurocode blood-labelling specification (2023) recommends it 1417. Encoders are still maintained: BWIPP changed its Codablock F encoder in October 2026 21, and scanners such as Honeywell's N56XX engines can still be set to read it 9. In its markets it has given way to matrix codes, mainly Data Matrix 21417.
Sources
Deployments
No country reports mention this standard by name.
Regions / aggregations not mapped to a single country
- Universal