Hasilkan 3 halaman PDF ReportLab
from reportlab.pdfgen import canvas
def create_pdf():
pdf_file = 'multipage.pdf'
can = canvas.Canvas(pdf_file)
can.drawString(20, 800, "First Page")
can.showPage()
can.drawString(20, 800, "Second Page")
can.showPage()
can.save()
MitchAloha