Questions tagged as 'fpdf'

0
answers

First Blank Page in Adobe

I'm using the FPDF v1.6 class to generate reports. It turns out that when I generate the PDFs, the browser appears right. When I download and open Adobe Reader, the first page appears blank with only a logo on top. The other pages appear corr...
asked by 13.07.2018 / 16:27
0
answers

How to apply watermark in pdf with FPDF?

I had an idea to make a watermark in pdf, so I'm using the code below ** index.php ** <?php session_start(); ?> <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="utf-8"> <meta...
asked by 18.05.2018 / 17:32
0
answers

FPDF: Image Alignment with Dynamic Text

I have a MultiCell field that has an indeterminate height (the text comes from bd): $pdf->MultiCell(100,5,'...',1,1); I need to align an image, always next to the beginning of the text field. $pdf->Image('...',115,30,80,0,'PNG');...
asked by 22.03.2018 / 13:21
1
answer

FPDF - Report template

I'm starting in the FPDF report library and need help to generate a report in that format.     
asked by 11.12.2017 / 12:26
0
answers

FPDF with php last blank page

I have a problem with my code, it is generating the last blank page. Follow the creation of this code with the help of the community: FPDF with MySQL and PHP - Bringing Repeated Data I have already changed the variables, but without succ...
asked by 20.11.2017 / 01:03
1
answer

FPDF with MySQL and PHP - Bringing repeated data

I'm trying to set up a generator system of Vouchers/Tickets I have a table in SQL with the name Vouchers with multiple users and their respective passwords. I call each cell the variable $serial_voucher and $senha_vou...
asked by 11.11.2017 / 23:14
1
answer

Print dynamic query

I have a query on a system where the user selects the month and the corresponding records are shown on the same page. I want to print the result of the query but as the form sends via GET: <form action="" method="get" id='form-contato' clas...
asked by 21.08.2017 / 11:31
1
answer

How to import FPDF content into Zend2?

I'm creating a budget page with Zend 2, to print with FPDF. The problem is that I do not know how to import. The error is this: Warning: require (/php/system_real/public/advice/fpdf/fpdf.php) [function.require]: failed to open stream:...
asked by 10.04.2017 / 16:59
2
answers

Break line in a cell of the PHP FPDF class?

I would like to know how to insert a line break with FPDF of PHP . I am putting the following code: $pdf->Cell(0,20, "Declaramos que ".$nome.$quebra_linha." participou da I SAEP - Semana Acadêmica \n de Engenharia de Produção.....
asked by 04.10.2016 / 02:31
0
answers

Long text fpdf

Hello, I'm trying to create a service agreement within Dolibar CRM. It works with fpdf , and since I do not understand almost anything, I'm here. As every contract is great, I thought about attaching a contrato.php file to...
asked by 19.07.2016 / 21:13