Quantcast
Channel: All Discussions - mPDF Forum
Browsing index pages (108 articles)

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 Article


Hide Barcode numbers

Hi.I need to hide numbers on barcode. Is there any functions to do that?

View Article


Shrinking 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 Article

TOC 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


Output 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 Article

MathML

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 Article

mpdf 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 Article


problems 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 Article


Recto-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 Article

Google 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 Article

Detecting 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 Article

Windows 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 Article


Use 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 Article

SVG 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 Article


row 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 Article

background-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 Article


using 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 Article

multiple 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 Article

gradients

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
Browsing index pages (108 articles)


Latest Images