title: how to assign doc.topMargin for different pages using reportlab simpledoctemplate
body: <p>I'm generating a PDF but I'm not able to give different different topmargins to different pages.</p>
  
  <p>Is there any method or any way to solve this problem?</p>
  
  <pre><code>response = HttpResponse(mimetype='application/pdf')
  response['Content-Disposition'] = 'attachments;filename='aa.pdf'
  doc = SimpleDocTemplate(response)
  elements = []
  table_data = [["Cash Management -"],
                ["individuelle Kond-"],
                ["Cash Mas -"],
                ["Terms and Condppe"],
                ]
  table_dimension = Table(table_data, colWidths=[19.8 * cm], rowHeights=(.23*inch))
  table_dimension.setStyle(TableStyle([
                            ('BACKGROUND',(0,0),(0,3),'0x2E8B57'),
                            ('TEXTCOLOR',(0,0),(0,3),'0xFFFFFF'),
                            ('FONT', (0,0), (0,3), 'Times-Italic'),
                            ('ALIGN',(0,0),(0,3),'CENTER'),
                            ("VALIGN",(0,2),(0,2),"BOTTOM"),
                            ('FONTSIZE',(0,0),(0,1),14)
                  ]))
  elements.append(table_dimension)
  doc.topMargin=.13* inch
  doc.build(elements)
  return response
  </code></pre>
  
  <p>Now on all the pages the top margin remains tha same but I want different different margins on each page.</p>