I am trying to generate a document with two columns and footer. Currently I have the document split into two columns, However when I try to make paragraphs inside the footer it just follows the pattern of the column, if that make sense. It does not actually create a footer. I'm new to reportLab and don't have a good grasp of the library.
document = SimpleDocTemplate("test.pdf", pagesize=letter,rightMargin=72,leftMargin=72,topMargin=72,bottomMargin=18 )
#Two Columns
frame1 = Frame(document.leftMargin, document.bottomMargin, document.width/2-6, document.height, id='col1')
frame2 = Frame(document.leftMargin+document.width/2+6, document.bottomMargin, document.width/2-6, document.height, id='col2')
document.addPageTemplates([PageTemplate(id='TwoCol',frames=[frame1,frame2])])
story = []
ptext = '* Example blah blah'
story.append(Paragraph(ptext, styles["Normal"]))
ptext = '* Example blah blah'
story.append(Paragraph(ptext, styles["Normal"]))
footer = Frame(document.leftMargin, document.bottomMargin, document.width, document.height, id="footer")
document.addPageTemplates([PageTemplate(id='Footer',frames=[footer])])
ptext = '* Example blah blah'
story.append(Paragraph(ptext, styles["Normal"]))
ptext = '* Example blah blah'
story.append(Paragraph(ptext, styles["Normal"]))
document.build(story)