[fw-general] How can we pass a Zend_Barcode image to a Zend_PDF?

2010-02-12 Thread rpsimao
How can we pass a Zend_Barcode image to a Zend_PDF? With this: $barcodeOptions = array('text' => 'ZEND-FRAMEWORK'); $rendererOptions = array(); // Draw the barcode in a new image, $imageResource = Zend_Barcode::draw( 'code39', 'image', $barcodeOptions, $rendererOptions ); I pass the $imageR

[fw-general] Re: How can we pass a Zend_Barcode image to a Zend_PDF?

2010-02-12 Thread rpsimao
Found the solution. Must create a image and pass to the Zend_Pdf_Image::imageWithPath() method. so : // Only the text to draw is required $barcodeOptions = array('text' => 'ZEND-FRAMEWORK'); // No required options $rendererOptions = array(); // Draw the barcode in a new image, $imageResource =

[fw-general] Re: How can we pass a Zend_Barcode image to a Zend_PDF?

2010-02-12 Thread rpsimao
Hi Mickael That also doesn't work for what I need. I'm loading a base Pdf with some content already. I need to inject several barcodes into that file. The values are passed via a Post form. Then the Pdf is rendered to the browser for printing. But thanks for your reply. If you have another solut

[fw-general] Re: How can we pass a Zend_Barcode image to a Zend_PDF?

2010-02-12 Thread rpsimao
for your reply. If you have another solution please let > >>> me know. > >>> Thanks > >>> Ricardo > >>> Sent from my iPhone > >>> > >>> On 2010/02/12, at 13:35, mkk <[hidden email]> wrote: > >>

[fw-general] Zend_Form displayGroup render problem

2010-02-15 Thread rpsimao
In Controller: class IndexController extends Zend_Controller_Action { public function init() { $this->form = new RPS_Forms_Build_Ocorrencias(); } public function indexAction() { //Zend Form Elements $values = $this->form->buildForm(); $form =

[fw-general] Re: Zend_Form displayGroup render problem

2010-02-15 Thread rpsimao
Can anyone help me? I'm really stuck on this one. Thanks -- View this message in context: http://n4.nabble.com/Zend-Form-displayGroup-render-problem-tp1556433p1556739.html Sent from the Zend Framework mailing list archive at Nabble.com.

[fw-general] Re: Zend_Form displayGroup render problem

2010-02-15 Thread rpsimao
It returns an array of Zend_Form_Elements. Sent from my iPhone On 2010/02/16, at 02:30, "Terre Porter [via Zend Framework Community]" wrote: > > What does the $this->form->buildForm(); return? > > -Original Message- > From: rpsimao [mailto:[hidden emai