picqer/php-barcode-generator

Text at the bottom of the barcode

YunigeCDilip opened this issue · 2 comments

Hello,

Is there any way I can show the actual code of the generated barcode or a custom text at the bottom part of the generated barcode image?

#130, #125, #111 all cover this, in essence, it's not supported currently.

$generator = new BarcodeGeneratorPNG();
return Html::img('data:image/jpeg;base64, '. base64_encode($generator->getBarcode('012345678911121'), $generator::TYPE_EAN_13)), ['width' => '120', 'height' => '50']).
'<br /> 012 345678 911121';

test