What is the logic to break into the different rows in GS1 DataBar Expanded Stacked

Hello All,

Just wondering if any one can explains me the details how the API split the barcode into different row?

another question is: why the databar can not print in 4 rows if the text is (01)05686988998994?

Thanks

24724_FDIS.pdf (550.7 KB)

Due to specification “7.2.5.2 Encodation method field” (01)05686988998994 is encoded by 00 method and encoded into 5 data patterns.

Due to “Table 16 — Finder pattern sequences” 5 data patterns(4 data + 1 checksum) is encoded into 3 triads.

You can encode this into 3 rows by this code

BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.DatabarExpandedStacked, “(01)05686988998994”);
generator.Parameters.Barcode.DataBar.Columns = 1;
generator.Save(@“d:\save\rec\gen.png”);