Step 1: Prepare the HTML pages
In order to create useful PDFs from HTML you first need to prepare the html Templates in a way that they can be printed without errors and malformating. Many state-of-the-art websites got a print button anyway or may be printed as they are without limitations. If your site is missing this feature you may create an additional dynamic template that ignores menus, banner, teasers etc. If your site isn't dynamic you should consider switching to a content management system!
Note that there is a parameter called landscape if your HTML pages are too wide for the default portrait format. |