Here is the code. Attached the html file which has entire content and the pdf which chopped off the last few pages. Since this is a major issue, please let me know soon as this would a deciding factor for us to go with licensed copy.
HTMLDocument htmdoc = new HTMLDocument(<htmlfile>);
// render to PDF & XPS
HtmlRenderer renderer = new HtmlRenderer();
PdfRenderingOptions option = new PdfRenderingOptions();
PageSetup ps = new PageSetup();
renderer.render(new PdfDevice(option, <pdf_file>), htmdoc);
Archive.zip (117.8 KB)