Python: Printing Html in PDF using Reportlab Canvas
If this is what you are tying to do you should look at using Platypus with ReportLab, a built in set of classes in ReportLab for building documents out of objects representing page elements.  Or, if you want really simple, xhtml2pdf would probably be better.
For one of my python project I am using reportlab's canvas feature to generate pdf document. 
Can anyone please help me to print small subset of html (p, strong, ul, ol, li, img, alignments) on reportlab canvas?
Thanks in advance...