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
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 =
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
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:
> >>
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 =
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.
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