• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part: III MORE COOL WEB APPLICATIONS > GENERATING DYNAMIC PDFS

Chapter 12. GENERATING DYNAMIC PDFS

In this chapter, we will talk about how you can dynamically create PDF files with Zope. There are two different ways:

  • You can use the ZpdfDocument, a Zope product created by Pavlos Christoforou.

  • You can use PDFGEN, a Python package from ReportLab, Inc.

While you only need HTML and DTML to use the former, you need at least a rudimentary knowledge of Python to create PDF files with the latter.

Note

The pdfgen package is only a subpackage of reportlab. There are also the graphics, pdfbase, and platypus packages. They provide classes that allow the generation of advanced PDF files (creating page templates and frames).

You will find the methods of the three main modules of the pdfgen packages later in this chapter. We recommend you read the Reference Guide, User Guide, and Graphics Guide for a complete overview of reportLab that you find in the reportlab/docs/ directory after installing reportlab.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint