Can you use mysql fetch() to print out results into a table?
This software is great and thank you for sharing it with us!Ok I have a basic letter that I want to use my database results to feed in the data into a table at the bottom of my page. But I cant seem to...
View ArticleBugfix for external special links (mailto, fax, tel, ..)
Line 12497: if (substr($path,0,7) == "mailto:") { return; } into: if(preg_match('@^(mailto|tel|fax):.*@iu', $path)) { return; }or like:...
View Articletags with 0 as value not displaying.
When a tag is made with a 0 value inside it will not render.This does NOT happen in 5.7, only in 6.0<?php$prob =...
View ArticleBUG FIX: multiple nth childs not displaying.
<?php$prob = '<style>tr:nth-child(odd) td:nth-child(2n+2){ background: yellow;}</style><table>';for($i=1;$i<=4;$i++){ $prob .= '<tr>'; for($j=1;$j<=10;$j++){...
View ArticlePrinting on custom sized paper - Minor Issues
I have a quirky problem that I cannot seem to get a hang on as it is inconsistent.I have a very small piece of paper (a label) wherein I use the Header and Footer to print specific information on every...
View ArticleKannada not getting in freeserif font family it shows "???" symbol
Im using mpdf in my project where I want to print Malyalam,tamil,Kannada,Arabic, etc When I used MPDF57 I was getting all languages but there was some mistakes in some words. Now I changed to MPDF60...
View ArticleHow to set DisplayMode for multiple pages
I am printing a display on 3 pages. $this->mpdf = new mPDF('C', 'A4', '', '', 8, 8, 50, 5, 16, 13,...
View ArticleBUG FIX: div width carries over instead of resetting.
Example code that displays problem:<?php$prob = '<div style="width:100%;" id="ONEHUNDREDWIDTH"><div style="float:right; width:70mm; height:30mm; background:rgba(0,0,0,0.5); font-size:15pt;"...
View Articleheader only first page and {nb} in text. mpdf 6.
Hello!Firstly, I do not know why {nb} used only in header and footer.How can I be, if I need to insert the number of pages in the text?In my situation I can get away with using header, but I need only...
View Article$mpdf->shrink_tables_to_fit = false not work
the document includes a large table. in some of the columns using 'rowspan'. line turns out very high, and when it does not fit on one page, instead of the transfer of the text reduces the font. the...
View Articlegradients
hallo, i have an issue with css-gradients in the pdfs i create with mpdf. my script applies each time a same (generated) gradient to mulitiple divs, of which some show up as predicted (which is...
View Articlemultiple backgrounds
hi, i am keen to stack multiple backgrounds (images or gradients) like this: background: gradient1, gradient2, gradient3(which creates interesting patterns in most browsers).somehow it seems not...
View Articleusing anchors with rtl content not working
Hi , I have recently switched to mpdf for creating pdfs on my website.I am having some problems with creating anchors when I have rtl content in the pdf (hebrew charchters)for example the following...
View Articlebackground-repeat
hi, is there in mpdf any way to repeat a linear-gradient defined as background-image? ('background-repeat' works fine, but only if the background-image is a link to an image file.)thanks again for your...
View Articlerow height
Greetings.Is there any way to calculate the height of a table cell with multiple text lines in that cell?It might have one line of text, or three.I want to add empty rows in that table, but if there...
View ArticleSVG background transparent not working
Is there anything I can do to an SVG to make it render with background transparent?I'm using $mpdf->Image('images/pos.svg',64.5,12.8,134.5);It appears with a black backgound in my PDF but is fine in...
View ArticleUse PDF background - automatically change template page
Hello,is it possible to use a two-page-PDF as template/PDI and use page one of this PDF. AND if i have pure HTML content that flows MAYBE to a second and some more pages and use the second page of the...
View ArticleWindows 10 edge
Has anyone come across blank page rendering when using edge browser on Windows 10? Any hacks to make it work? Or ideas where to look. I tried on mpdf6.0 and 5.7 .
View ArticleDetecting auto page break based on content length and content block condition
Hi,I am hoping someone can reply to this or start commenting on this with your idea for solution.Problem that I am facing is that I am trying to generate multi page document that contains combination...
View ArticleGoogle chart image url not loading in PDF
HI Iann,I am httml which contains image tag which contains google chart image url(<img src="[1/29/16, 11:12 AM] Pavan Kumar...
View ArticleRecto-Verso
Hi,I need to print a recto-verso report with a table on recto an the same verso on each page.Is there a way to do this ?Thanks
View Articleproblems once i use the progress bar
i have this code : define('_MPDF_URI','./classes/mpdf/'); include_once('classes/mpdf/mpdf.php'); $mpdf=new mPDF(); $mpdf->SetDirectionality('rtl'); $mpdf->autoLangToFont =...
View Articlempdf is hanging on a lang='es' parameter in a span of text
i have a <span> that has a lang='es' in it. there are only utf-8 characters within the span. if i remove the lang='es', mpdf works fine, but with it, it hangs a process that times out after my...
View ArticleMathML
Dear Sir,As i can use html code in mpdf and it's working fine. i like to use MathML code also for display equation in pdf. Is mpdf support MathML code, if code so did you give this feature in future.
View ArticleOutput to browser with SaveAs filename
Hello,I am generating a PDF document via my php script. The document generates just fine, but when I click on the "SaveAs" button (Adobe Plug-in within FireFox) the default SaveAs filename is the...
View ArticleTOC inside tables
Hi all,I don't know if its only a problem of my config or if it's not possible at all.I have the h2toc flag set so that TOC is generated out of H1-6 tags automatically.But this doesn't seem to work...
View Article(possible) PHP7 compatibility issues
in DokuWiki I checked some php7 compatibility issues. This reveals also code with potential compatibility issues for mPDF.I didn't fully understand the surrounding code, so maybe the code is not...
View ArticleShrinking section
Hi - I'm trying to print a report via mPDF and the raw content is HTML. On screen everything in the report looks fine, but when sent to mPDF, one section is scaled down on the page to about 2/3's the...
View ArticleHide Barcode numbers
Hi.I need to hide numbers on barcode. Is there any functions to do that?
View ArticleGenerating two pdf's successively
I'm using mpdf libriary to generate pdf file from view (html) and all is good. But when I try to do it again with another view in the same place, I get pdf with data from first view with corrupted...
View Article