Extended codetext generator for MaxiCode barcodes for ExtendedCodetext Mode of MaxiCodeEncodeMode Use TwoDDisplayText property of BarcodeGenerator to set visible text to removing managing characters.
This sample shows how to use MaxiCodeExtCodetextBuilder in Extended Mode.
$textBuilder->addECICodetext(ECIEncodings::Win1251, "Will");
$textBuilder->addECICodetext(ECIEncodings::UTF8, "犬Right狗");
$textBuilder->addECICodetext(ECIEncodings::UTF16BE, "犬Power狗");
$textBuilder->addPlainCodetext("Plain text");
$codetext = $textBuilder->getExtendedCodetext();
$generator->getParameters()->getBarcode()->getCodeTextParameters()->setTwoDDisplayText("My Text");
$generator->save("test.bmp", BarcodeImageFormat.BMP);