Hy guys,
how can i display a barcode with Zend_PDF ?
this is my code:
$config = new Zend_Config(array(
'barcode' => 'code39',
'barcodeParams' => array('text' => '11020109'),
'renderer' => 'image',
'rendererParams' => array('imageType' => 'gif'),
));
$renderer = Zend_Barcode::factory($config)->render();
now how can i render it to my pdf? i try without succes with:
$barcode = Zend_Pdf_Image::imageWithPath($renderer);
$page->drawImage($barcode, 10, 510, 290, 550);
thanks