zend-pdf

Report generation in PHP (formats required pdf,xls,doc,csv)

这一生的挚爱 提交于 2019-12-03 08:52:00
问题 I need to generate reports in my PHP website (in zend framework) Formats required: PDF (with tables & images) // presently using Zend_Pdf XLS (with tables & images) DOC (with tables & images) CSV (only tables) Please recommend robust and fast solution for generating reports in PHP. Platform: Zend Framework on LAMP I know there are some tricky solutions for creating such reports, i wonder is there any open source report generation utility that can be used with LAMP environment 回答1: Excel: http

Is possible convert HTML into pdf using Zend_Pdf?

断了今生、忘了曾经 提交于 2019-12-03 07:01:28
问题 Is possible convert directly HTML into a pdf file using Zend_Pdf?, if so, How can I do that? 回答1: Zend_PDF isn't able to generate PDF based on HTML. But you can render view and use other library for convert it to PDF. I've done such thing with TCPDF. Little code snippet below: //SomeController.php $this->_helper->layout->disableLayout(); //set content for view here // create new PDF document require_once('tcpdf/tcpdf.php'); $pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT,

Where to get and how to use zend_pdf standalone

流过昼夜 提交于 2019-12-01 04:10:35
I spent the last 2 days looking for answers on how to use zend_pdf as standalone. Everything I found on google refers to a pdf.php that I can't find anywhere. I have found zend_pdf here ( https://github.com/zendframework/ZendPdf ) I don't want to install the entire framework on the server and I don't want people to tell me to use fpdf or tcpdf or anything else. zend_pdf seems to be the perfect solution. I just want to know how to use it asstandalon. Any clear instructions? Thank you To begin with, it is worth noting that the version of ZendPdf that you are referring to is the version that was

Is there a way to make FPDF/FPDI or Zend_Pdf support the parsing of PDFs greater than 1.4?

非 Y 不嫁゛ 提交于 2019-11-28 06:01:44
I am trying to add an existing PDF (created otherwise) to a PDF created with FPDF using FPDI. It seems to work find for most PDFs, but I get the following error: FPDF error: Unable to find xref table. After some testing, I figured out that if I use a PDF version of 1.4 or lower (Acrobat v5 or lower) it seems to work. Looking at the file it seems to be because of a different PDF format. Is there a work around or solution to this? I have probably 10 000+ PDFs uploaded by users, some of the new working, some of them not. It's also annoying that FPDI just dies instead of causing some kind of error

Is there a way to make FPDF/FPDI or Zend_Pdf support the parsing of PDFs greater than 1.4?

本小妞迷上赌 提交于 2019-11-27 01:11:10
问题 I am trying to add an existing PDF (created otherwise) to a PDF created with FPDF using FPDI. It seems to work find for most PDFs, but I get the following error: FPDF error: Unable to find xref table. After some testing, I figured out that if I use a PDF version of 1.4 or lower (Acrobat v5 or lower) it seems to work. Looking at the file it seems to be because of a different PDF format. Is there a work around or solution to this? I have probably 10 000+ PDFs uploaded by users, some of the new