Comments inline Marco Pivetta http://twitter.com/Ocramius
http://marco-pivetta.com On 12 March 2012 08:49, IamTrying [via Zend Framework Community] < ml-node+s634137n4465462...@n4.nabble.com> wrote: > 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 > This is an SVG, not a PDF. > 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; > } Yes, but... compared to what code? I also see an "exit" within an action... > 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] < > [hidden email] <http://user/SendEmail.jtp?type=node&node=4465462&i=0>> > 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< > http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=634137&code=b2NyYW1pdXNAZ21haWwuY29tfDYzNDEzN3wxNzE0OTI1MTk4> > > . > > NAML< > http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml><http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml%3E> > > > > > > ------------------------------ > 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-tp4464644p4465462.html > To unsubscribe from Zend Framework Community, click > here<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=634137&code=b2NyYW1pdXNAZ21haWwuY29tfDYzNDEzN3wxNzE0OTI1MTk4> > . > NAML<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- 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-tp4464644p4465551.html Sent from the Zend Framework mailing list archive at Nabble.com.