-
Nicola Asuni HIBC data in a Datamatrix symbol. This is the combination that fits on a surgical instrument or a small vial, where a linear symbol has nowhere to go.
Type Token
| Item | Value |
|---|
| Type token | HIBCDM |
| Enum case | BarcodeType::HIBCDM |
| Family | 2D |
| Standard | ANSI/HIBC 2.6, ANSI/HIBC 1.3 |
| Class | \Com\Tecnick\Barcode\Type\Square\HibcDatamatrix |
| Item | Value |
|---|
| Character set | the HIBC character set |
| Length | a primary structure of 6 to 23 characters, with an optional secondary structure |
| Check | modulo 43, appended by the library, plus the Datamatrix error correction |
| Extra parameters | none |
Examples
A primary data structure
<?php
require_once __DIR__ . '/vendor/autoload.php';
$barcode = new \Com\Tecnick\Barcode\Barcode();
$bobj = $barcode->getBarcodeObj(
type: 'HIBCDM',
code: '+A123BJC5D6E71',
width: -4,
height: -4,
color: 'black',
padding: [0, 0, 0, 0],
)->setBackgroundColor('white');
echo $bobj->getInlineSvgCode();

Errors
These payloads raise \Com\Tecnick\Barcode\Exception:
| Payload | Message |
|---|
A123 | A HIBC data structure starts with the flag character “+”: A123 |
See Also