Wednesday, July 2, 2014

how to show barcode vartically

hi

i wants to show barcode vartically but it show horizaotally in tcpdf

please help if possible

my code is



$style = array(
'position' => '',
'align' => 'S',
'stretch' => false,
'fitwidth' => true,
'cellfitalign' => '',
'border' => false,
'hpadding' => 'auto',
'vpadding' => 'auto',
'fgcolor' => array(0,0,0),
'bgcolor' => array(255,255,255),
'text' => false,
'font' => 'helvetica',
'fontsize' => 11,
'stretchtext' => 4
);


$params=$pdf->serializeTCPDFtagParameters(array(($BarcodeValue),'C128',3.7,4,4.8,1,1,$style,'N'));

$html .= '<tcpdf method="write1DBarcode" params="'.$params.'" />';

$pdf->writeHTML($html, true, 0, true, 0);

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: