I'm trying print several barcodes using the Zend\Barcode namespace.
The problem is reading the manual I can't print more than one barcode.
I can't print a echo before the barcode too.
How can I print several barcodes and texts together?
The code I'm using is similar to this one:
use Zend\Barcode\Barcode;
$barcodeOptions = array('text' => '123456');
$rendererOptions = array();
Barcode::render(
'code39', 'image', $barcodeOptions, $rendererOptions
);
$barcodeOptions = array('text' => '654321');
Barcode::render(
'code39', 'image', $barcodeOptions, $rendererOptions
);