Convert HTML to PDF
An Easy to Use Course
Experiments with mPDF
mPDF is a PHP class which generates PDF files from UTF-8 encoded HTML.
mPDF is very powerful and allows you to add “PDF functionality” such as:
- Setting open options
- Creating PDF forms
- and more…
You can downoad mPDF from GitHub
Creating your first PDF
Wrap HTML in PHP and mPDF and you are ready to go.Take me there...
Adding some CSS Styles
Add some CSS to give your PDF some style.Take me there...