Questions tagged [fpdi]

A PHP class which allows to read pages from existing PDF and generate new files based on FPDF.

Home page of FPDI

FPDI is a PHP class based on which allows to generate and manipulate PDF files with pure PHP, that is to say without using the PDFlib library. F from FPDI stands for Free: you may use it for any kind of usage and modify it to suit your needs.

327 questions
0
votes
1 answer

Is fpdi shrinking template and/or adding whitespace?

Using FPDI, I first use a template to create a table of contents. I then import additional pages, which are linked to by the table of contents. What I'm experiencing is that FPDI is shrinking the templates and possible adding white space. I…
Chris Rockwell
  • 1,688
  • 2
  • 21
  • 36
0
votes
3 answers

How can I include the content from an existing pdf into my generated pdf?

I'm using fpdf for the script to create the PDF from my sql data. I want to add a glossary to the end of that content. I looked at fpdi, but you can only add 1 page from the PDF. How can I add all the pages?
0
votes
1 answer

Generate several pdf on a page with FPDI in PHP

I'm trying to display a pdf but page by page (separated pages). The thing is that once I generate a page with FPDI, I have 4 options: download generated pdf display it directly to the browser (streaming like) generate an string that represents the…
Eliseo Ocampos
  • 2,473
  • 4
  • 20
  • 32
-1
votes
1 answer

Add username as watermark when downloading an already existing pdf file in codeigniter

What I want to achieve is that whenever a user downloads a pdf file from the system, a watermark with his/her Username is added to the file. I have had a look at this link but I haven't got around it (it uses native PHP).
-1
votes
1 answer

fpdi with tcpdf new added text not showing in the pdf

I am trying to adding text in existing pdf using fpdi with tcpdf library. but text are not showing on the pdf. if i search pdf text can be highlighted but it is hidden on pdf. i have tried z-index too but still not appear. please see below is my…
Code Embassy
  • 247
  • 2
  • 16
-1
votes
1 answer

How to fix "Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found on line 25" but i have no code in line 25

I came across with same problem of mine but i tried solved it with the given solution in every topic but it seems i cant solve it. Saying "Class 'setasign\Fpdi\FpdfTpl' not found" I am new in using this FPDF and FPDI, please help me on solving my…
Jexten
  • 1
  • 7
-1
votes
2 answers

Yii2: Setasign fpdi

I am creating an application and used fpdi for the printable documents. But when I ran the code, it returned an error: setasign\Fpdi\PdfParser\PdfParserException . What are the possible causes of this error?
anon97
  • 15
  • 5
-1
votes
1 answer

can mpdf use fpdi-pdf parser extension?

I've been working with mpdf in order to join pdf files and adding internal links to its pages. I was forced to add fpdi-pdf parser to handle pdf files > v 1.4. I'm having some issues to make them work together because they require class extension…
iconte
  • 31
  • 3
-1
votes
2 answers

Working on putting a image on to a multi Page pdf document

I have been working with the following code to put a image stamp onto a single page in a multi page pdf document. the problem i have is if i set the page to be page 5 it will not save the rest of the PDF if i make it the last page it works i want to…
Tom
  • 17
  • 6
-2
votes
1 answer

PDF Multiple Digital sign

I visit into a similar issue in another post. Using FPDI and TCPDF I can sign a PDF document with a signature without problems, but when it comes to multiple signatures the previous signature remains unformatted and only the last signed is valid.…
-2
votes
2 answers

How will I implement putting a watermark upon printing the PDF?

Here is what I have in my mind: First, I will view the document in an embed tag. Second, Users can print the pdf, but these are confidential files so they need to coordinate to the document controller to have their own copy. Third, When they will…
mmr
  • 516
  • 11
  • 30
-2
votes
1 answer

Merging PDF's memory

Im stumbled with this problem. Im merging multiple PDF-files into one depending on what PDF's the client choose. If i choose the smallest size PDF's and merge it works fine but as soon as its a lil bigger, like around 1MB i get Fatal error: Allowed…
Rovdjuret
  • 1,458
  • 3
  • 19
  • 40
1 2 3
21
22