Questions tagged as 'mpdf'

0
answers

how to avoid page breaks with Mpdf?

I am using mpdf v6 and when I generate a report I have this result and I do not want it to be divided into pages, I want the page to continue to show all the content. that is, the size of the page is determined by the amount of information...
asked by 04.06.2018 / 16:11
0
answers

How do I solve this problem, when generating my report with the library Html2pdf, on the first page it shows me this sign "?"

I have tried eliminating the tr where is the sql cosulta and the "?" in my report, but when I add the sql query it generates my report but it also generates this "?" in my report vista_html.php <style > table { vertical-align: to...
asked by 05.04.2018 / 19:27
0
answers

Add CSS to MPDF

I am trying to add CSS to my MPDF , when I remove the lines from CSS works normally, I have my file CSS en in the same path of my PHP , it gives me errors with CSS this is my code: $mpdf=new mPDF('c','A4...
asked by 09.03.2018 / 16:24
0
answers

Update Mpdf 7 in linux

Initially I was working on win7, and now when I moved to Lubuntu 17.04, I found a series of errors. In this forum they helped me to discover that to solve it I had to update Mpdf, since the version I was using was not compatible with php 7 (alth...
asked by 09.02.2018 / 14:05
1
answer

Mpdf has a deprecated constructor

I would like to know how to solve this error message. I'm working with php v. 7.0.22, Codeigniter v. 3.1.0. and Mpdf v. 6.0 Use SO Lubuntu 17.04. Thanks.     
asked by 08.02.2018 / 18:33
1
answer

while cycle inside mpdf

I have a report that is of notes, but by inserting this code while($notas = mysql_fetch_assoc($r_notas)) { $html.='<td class="tdClass"><b>'.$notas['asignatura'].'</b></td> <td class="tdClass">'.$...
asked by 25.01.2018 / 18:13
2
answers

Unable to load the requested class

I was developing in W7 and wanting to follow the work in Ubuntu, the message appears:    Unable to load the requested class: MPDF The autoload.php: $autoload['libraries'] = array('database', 'email', 'session', 'Mpdf'); The class is...
asked by 24.01.2018 / 14:03
2
answers

How to start creating pdf with the mpdf library?

Hello everyone I tried to create files with this library and I could not appreciate your help. <?php require_once('mpdf/mpdf/vendor/autoload.php'); $mpdf = new mPDF(); $mpdf->WriteHTML('<p>Your first taste of creat...
asked by 22.08.2017 / 23:12
1
answer

Column Count in HTML with the PHP MPDF library

I'm trying to show a pdf with columns, but it does not accept me% c_of css% My code: <style type="text/css"> #container { width: 100%; max-width: 700px; margin: 2em auto; } .cols { -moz-column-count:3; -moz-column-ga...
asked by 29.06.2016 / 14:59