Questions tagged as 'mpdf'

1
answer

How to fix overlapped text in header with MPDF library

I'm having a problem with the header in relation to body text when generating a PDF. The header is being overwritten by body text, how to solve this? I am using the SetHTMLHeader method for the header and the WriteHTML method...
asked by 01.02.2016 / 19:43
2
answers

PHP - Highcharts - PDF

I'm using Mpdf to make some values I've saved in SESSIONS in php become a report, so that's fine, but the page I want to turn into report has Highcharts Js graphics, I do not know how to export those graphics directly for the report that will be...
asked by 17.02.2016 / 18:04
0
answers

mpdf is returning me a String instead of generating the pdf

I'm using the mpdf library in my project, but at the time of generating the document it's returning a string and is not generating nothing, you know what it can be? Google Chrome Developer Tools - Preview: GoogleChromeDeveloperTools-R...
asked by 20.03.2018 / 19:29
0
answers

mPDF - Generate PDF with cover and contents

I need to generate a PDF with cover, back cover and content. I am searching the database for the name of the backgrounds and contents. So far so good. I've done the following: First I searched for all the data I needed and called the view:...
asked by 16.09.2016 / 17:16
0
answers

Problems with Header and footer in report with mPHP

I'm taking a look at mPHP to learn how to do reports with PHP, due to a case that occurred in my work, now I want to be cautious and learn to use such a tool, but I'm having problems (I tried to do similar to work) . I can not put header and...
asked by 09.08.2016 / 13:31
0
answers

Send PDF in Annex mPDF, phpmailer

I have the following code in PHP: error_reporting(E_ALL ^ E_DEPRECATED); $this->load->helper('mpdf'); $this->data['dadosboleto'] = $this->boleto_model->GerarBoletoCEF($id_cliente, $data_inicial, $data_final); $this->data['vie...
asked by 18.06.2016 / 22:07
1
answer

Save PDF file in PHP temp

Is there any class, such as mPDF or fPDF, that can send its output to a temporary file, or something like that, to be sent via email to it? The demand is as follows: I need the email to be automatically attached, without the guy selecting fil...
asked by 15.12.2017 / 14:23
1
answer

Error generating PDF report with mpdf60

For a few days I've been trying to generate a PDF report with PHP, I found several examples on the internet and everyone gives the same error, I've put the sample code and error print below. My Xampp server is using PHP version 7 and the libr...
asked by 05.04.2018 / 18:21
1
answer

How to get an image of the view (html) and send it to a controller (php) using codeigniter?

I need to pass an image of my view to the controller , just the string with the url or the entire html element. I am using angular and codeigniter and the mpdf is not letting me generate through AJAX request, I'm throwing the parameters...
asked by 27.03.2018 / 18:51
1
answer

Recover field without include / require

I have a report created in mPDF that performs a select through the following function that is found in the page "registra_people.php": include_once("registra_pessoa.php"); $pessoas = filtraPessoas(); Follow function: function filtraPessoa...
asked by 02.02.2018 / 19:43