Generating 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 ArticleHide Barcode numbers
Hi.I need to hide numbers on barcode. Is there any functions to do that?
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Article