TCPDF they have lot of examples, out of those here is one and it takes about
5 minute to print? (this is just unit test)

 
//http://upload.wikimedia.org/wikipedia/commons/f/f6/A_size_illustration2_with_letter_and_legal.svg
  public function flyerAction() {
    $pdf = new MYPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true,
'UTF-8', false);
    $pdf->template3($this->data->x, $this->data->y);
    $html = $this->view->render('print/flyer.pdf.phtml');
    $pdf->writeHTMLCell(
            $w = 0, $h = 0, $x = '', $y = '', $html, $border = 0, $ln = 1, 
            $fill = 0, $reseth = true, $align = '', $autopadding = true);
    $pdf->Output('flyer.pdf', 'I');
    exit;
  }
Marco Pivetta wrote
> 
> I'm sorry, but could you please expose an example? I don't really get what
> you mean...
> Marco Pivetta
> 
> http://twitter.com/Ocramius
> 
> http://marco-pivetta.com
> 
> 
> 
> On 11 March 2012 22:14, IamTrying [via Zend Framework Community] <
> [email protected]> wrote:
> 
>> What is the reason Google PDF files are faster (billions of traffic) then
>> 1 single traffic performance of ZF/PHP PDF's?
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://zend-framework-community.634137.n4.nabble.com/Zend-Framework-Why-the-PDF-print-is-slowest-in-ZF-PHP-mPDF-tcPDF-fPDF-zf-PDF-all-tp4464644p4464644.html
>>  To unsubscribe from Zend Framework Community, click
>> here&lt;http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&amp;node=634137&amp;code=b2NyYW1pdXNAZ21haWwuY29tfDYzNDEzN3wxNzE0OTI1MTk4&gt;
>> .
>> NAML&lt;http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml&gt;
>>
> 


--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Zend-Framework-Why-the-PDF-print-is-slowest-in-ZF-PHP-mPDF-tcPDF-fPDF-zf-PDF-all-tp4464644p4465462.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to