Questions tagged [zend-pdf]

Questions related to Zend_Pdf, the PDF manipulation engine component of Zend Framework. Zend-PDF can load, create, modify and save document allowing PHP apps to dynamically create PDF documents by modifying existing documents or generating new ones from scratch.

Zend_Pdf is a PDF manipulation engine component of Zend Framework. It can load, create, modify and save documents. Thus it can help any PHP application dynamically create PDF documents by modifying existing documents or generating new ones from scratch.

More information about Zend-PDF at http://framework.zend.com/manual/en/zend.pdf.introduction.html

136 questions
13
votes
7 answers

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

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…
Darryl Hein
  • 142,451
  • 95
  • 218
  • 261
13
votes
4 answers

Is possible convert HTML into pdf using Zend_Pdf?

Is possible convert directly HTML into a pdf file using Zend_Pdf?, if so, How can I do that?
texai
  • 3,696
  • 6
  • 31
  • 41
12
votes
2 answers

Zend_Pdf calculating length of text string in current font for line wrapping

Does anyone have an easy way to calculate how many points across a page a piece of text will consume in a particular font and size? (easy = minimal lines of code + computationally cheap). Zend_Pdf doesn't appear to have a function that does this,…
Steve
  • 3,601
  • 4
  • 34
  • 41
7
votes
1 answer

Where to get and how to use zend_pdf standalone

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…
jesse94
  • 127
  • 1
  • 8
7
votes
4 answers

Zend_Pdf Add text link to pdf page

Is it possible to add anchor text(link) in Zend_PDF page? I wasn't be able to find any information about this in Zend_Pdf online manual, or reading code, so I guess it is not possible. If there is way, please suggest! Thanks!
Ivica
6
votes
2 answers

Convert PDF ver 1.7 to ver 1.6 by using php only

I am working on API which gives me PDF(ver 1.7) in response and my project is using zend pdf library which doesn't support parsing of PDF version 1.7 . So i have decided to convert PDF version to make compatible with Zend Pdf. Is there any way to…
Gulshan Maurya
  • 1,010
  • 11
  • 22
5
votes
1 answer

How to drawTextBlock in zend PDF

I using ZendFW 1.7.2 in my project and need to save PDF file. i am success for use function drawText but some of my data is too long so i need it break line. Now i get a solution from…
koe
  • 736
  • 1
  • 12
  • 33
5
votes
1 answer

How can I right align text with Zend_PDF?

I am working with Zend_PDF. The only task I can't figure out by myself is to align my texts to the right of my page. How can I achive that? EDIT I used the drew010 answer below with others info found on the web to create a new class I am using to…
sdespont
  • 13,915
  • 9
  • 56
  • 97
4
votes
4 answers

Cross-reference streams are not supported yet

I'm new to the Zend Framework so my apologies if I'm missing something simple. However, I would have thought that code taken directly from the documentation would work. Instead I'm getting an uncaught exception. Fatal error: Uncaught exception…
mseancole
  • 1,662
  • 4
  • 16
  • 26
4
votes
2 answers

Zend_Pdf font problems with german language.....?

I am using Zend_Pdf class to create a PDF document. Here the contents are in the GERMAN language, So when I write the content to the pdf it automatically converts those characters to some special chars. I am not able to figure out the problem....? I…
Pushpendra
  • 4,344
  • 5
  • 36
  • 64
4
votes
2 answers

Zend_Pdf manipulating PDF Form Fields

I currently have a project there are a number of forms that are processed and stored in the DB. Upon successful completion an admin is notified by email with the contents of that form submission. The problem is for one of these forms i need it to…
prodigitalson
  • 60,050
  • 10
  • 100
  • 114
4
votes
4 answers

Zend PDF word wrapping

Does Zend_Pdf already support automatic wrapping of text? For example I want to create a textblock and fill it with text. This is a very important feature and unless Zend Pdf does not have it I am not able to switch from FPDF. Also I think a…
Sebastian Hoitz
  • 9,343
  • 13
  • 61
  • 77
4
votes
2 answers

zend_PDF drawImage for set location

I am used zend and need to print report as in PDF and i want to draw location for image. but i can't find the solution because by i see in site i can only set size of image but can't find how to set location for image yet. $image =…
koe
  • 736
  • 1
  • 12
  • 33
4
votes
1 answer

Editing an existing pdf file's metadata

I have some PDF files, on pdf version 1.6. i have been trying the following libraries to edit the metadata of these pdf files: Zend_Pdf class: which worked nicely for pdf version 1.5 or less. but had an error on parsing pdf of version 1.6 pdflib:…
user2146944
  • 51
  • 1
  • 4
3
votes
3 answers

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

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…
Ish
  • 28,486
  • 11
  • 60
  • 77
1
2 3
9 10