mPDF implementatie
Moderator: velden
mPDF implementatie
Heeft iemand hier mPDF wel eens op een site geïmplementeerd en zo ja, heb je wat tips of een korte uitleg hoe je het gedaan hebt?
Re: mPDF implementatie
There is a PDF print module in the forge. I use that for 1.11.x + sites.
The template will need to be a fully qualified HTML document with the DocType and links to the stylesheets you want to use for printing.
It will take some testing and experimenting to make the PDF page exactly the way you want it to look
The template will need to be a fully qualified HTML document with the DocType and links to the stylesheets you want to use for printing.
It will take some testing and experimenting to make the PDF page exactly the way you want it to look
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
Re: mPDF implementatie
I'll answer you in english:
Thanks. I saw that. I downloaded this version. It's version 0.1, I saw in SVN there is a 0.2 version. Which one do you use? I saw it has no .XML, so I manually created the module/PDFGenerator folder and uploaded the files. So I guess I should run the mothod.install.php?
===========EDIT===========
Nevermind, it just was in the modules list already, just had to hit 'install'... Seems to work!
Thanks. I saw that. I downloaded this version. It's version 0.1, I saw in SVN there is a 0.2 version. Which one do you use? I saw it has no .XML, so I manually created the module/PDFGenerator folder and uploaded the files. So I guess I should run the mothod.install.php?
===========EDIT===========
Nevermind, it just was in the modules list already, just had to hit 'install'... Seems to work!
Re: mPDF implementatie
I am using .1 from the Forge. with a 1.10.11 and 1.11.11 site.Guido wrote:Thanks. I saw that. I downloaded this version. It's version 0.1, I saw in SVN there is a 0.2 version. Which one do you use? I saw it has no .XML, so I manually created the module/PDFGenerator folder and uploaded the files. So I guess I should run the mothod.install.php?
I have it set to use the TCPDF subsystem.
hope that helps...
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
Re: mPDF implementatie
Well it worked like it should, but I found for my needs the styling options for the module were too limited. I found some help on manually implementing mPDF (which I like for it's many styling options) and posted a detailed workflow for this here.
Thanks for your time anyway.
Thanks for your time anyway.