Questions tagged as 'fpdf'

1
answer

How to generate a pdf file containing the digital certificate information? [closed]

I have a PHP system that generates a pdf, and I need to use the client's Digital Certificate to sign this document. I've been reading documentation, and I've seen that the FPDF that I'm using does not yet support this method, since TCPDF give...
asked by 13.05.2015 / 03:29
1
answer

FPDF - Bold only part of string in MultiCell

My problem is as follows, I am doing a certificate in FPDF, and there are parts of strings that have to be in bold eg: CODE: $nome="Marco"; $string1="Certifica-se que ".$nome; $pdf->Cell('160','8',$string1,0,1,'L',false); The result w...
asked by 23.06.2016 / 18:58
2
answers

Cell with dynamic height in FPDF

I want to create a report with fpdf, but every time I create a cell with some large text, it is over the cell below. Is there a way to create a cell that automatically resizes >     
asked by 05.11.2014 / 18:39
1
answer

generate and send email with pdf file attached with php

In my PHP script, I need to generate a PDF file and send it via email. I have already been able to send an attached file via email using phpmailer and generate a PDF in the browser using fpdf. The problem is that I can not attach the PDF to t...
asked by 31.08.2018 / 14:36
1
answer

Change PDF background according to bank data (PHP, MYSQL, FPDF)

I'm trying to customize my report in FPDF , it's a system that generates discount tickets, where they are printed in batches, for example batch of 50 units. Tickets on this lot will have the same profile where it can be 10%, 20% and 30% of...
asked by 28.11.2017 / 15:43
3
answers

How to use the setX () and setY () methods of the FPDF library.

I have already researched the internet but did not get clarification on the subject, I wonder if anyone could demonstrate a procedure to use these methods. I'm creating a header with the library fpdf and I need to use the setX...
asked by 10.02.2015 / 17:42
0
answers

Editor for FPDF [closed]

I'm looking for an FPDF editor. Does anyone know any? Or some link that can take my page in PHP and turn it into FPDF. I need to create more than 20 reports from PHP to PDF. I know the question is generic, but I find nothing of the kind....
asked by 12.12.2017 / 17:28
0
answers

FPDF - I need to customize the text that will be printed

I need the content $pdf->MultiCell to be personalized (html) with bold, etc ... <?php require_once( 'fpdf.php' ); $nome = @$_POST['nome']; // Sim, a supressão é perfeitamente válida neste contexto $horas = @$_POST['h...
asked by 22.09.2017 / 13:25
1
answer

FPDF Adding page to more

My document only came up one record, but it still generates two pages the function I am using is this: function Footer(){ // CRIANDO UM RODAPE //$this->SetX(15); $this->setY(-15); //$this->Rect(10,270,190,20); $this-&...
asked by 16.09.2016 / 16:25
0
answers

PHP - Insert image of the database in pdf generated via fpdf

I'm using the fpdf system to generate pdf files through an html form. But I would like to insert an image in the pdf that is up in the mysql database. The synthesis to insert image in the pdf is: $pdf->Image('logo.png',18,13,33);...
asked by 16.07.2015 / 19:11