I Want to know if there is a way I could generate a whole html document into a pdf file. I have already report lab and have done some examples with strings before in the past. But I want to know if there is a way how to change a template into some output which is a pdf file.
Take a look at Pisa/XHTML2PDF. I did some experiments with it a couple of years back but switched to pure ReportLab when it proved inadequate. It may fit your needs better than it did mine.