Questions tagged as 'mpdf'

0
answers

Generate multiple files with mPDF library

A contract per page with data that is in a mysql table (currently I get user id and generate a page with contract); how to do this with MPDF and PHP?     
asked by 18.01.2018 / 16:04
1
answer

How to send an email and generate a PDF

I need to generate a pdf for the client to save and at the same time send an email to the company with PHP. I have this code, but the email works and if I do only the pdf generator it works too, it just does not work together. I believe you h...
asked by 13.11.2017 / 18:25
0
answers

Signing pdf with PHP

I have to digitally sign some documents in PDF . How do I do this in php ? How much does the certificate have to be? Home I'm having a hard time finding a solution if you can help thanks.     
asked by 24.07.2017 / 14:34
0
answers

Is it possible to retrieve the download button in mpdf?

I would like to remove the download button, just like the Print button. Is there a solution? I already went to mpdf.php and removed the case 'D': but it had no effect. I would also like to prevent any click on the pdf in question. (Print the...
asked by 07.06.2017 / 20:37
1
answer

PDF does not generate all pages with mPDF

I have a query that returns me 8,093 records in both the database and a system in PHP. I'm making a report using mPDF that independently of the filter, it only generates 6 pages, which in my opinion, rule out the possibility of getting some null...
asked by 02.12.2016 / 13:16
0
answers

horizontal mPDF - PHP

I need to generate a report PDF, with the following specifications: $this->load->helper('mpdf'); $html = $this->load->view('relatorio/interessados_relatorio_impressao', $data=NULL, true); pdf_create($html, 'interessados_relatorio_'...
asked by 17.08.2016 / 20:30
0
answers

Header and footer do not work in mpdf

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 10.08.2016 / 19:25
1
answer

Header and footer in mpdf does not work for anything [duplicate]

I'm having a problem with mpdf and I really need help. I can not put the header and footer in the report for nothing, even putting SetHTMLFooter and SetHTMLHeader does not work. I tried version 7.0, 6.1, 6.0 and 5.7 and not...
asked by 16.08.2016 / 16:09
0
answers

How to use foreach with the mPdf library?

Hello, friends. I'm in a hard problem, I know what it is, but I can not solve it. Well, I'm using the mPDF library to generate reports, it's great and very simple to use. I am bringing information from the database and saving it on a table...
asked by 28.05.2016 / 03:18
0
answers

delay to generate a pdf with Kartik mPDF for Yii2

I'm generating a pdf with 41 and it's taking about 3 minutes, would it be possible to generate this file faster? follow the code: $pdf = new Pdf([ // set to use core fonts only 'mode' => Pdf::MODE_CORE, // A4...
asked by 28.11.2015 / 13:35