[reportlab-users] Printing Problem

Tim Roberts reportlab-users@reportlab.com
Wed, 29 Oct 2003 09:54:00 -0800


On Tue, 28 Oct 2003 15:08:13 +0100, Christian Klinger
<christian.klinger@econtec.de> wrote:
>Hello List
>
>I'm a Newbie in Reportlab
>
>This is my " simple example" Code
>---------------------------------------------------------
>from reportlab.pdfgen import canvas
>from reportlab.lib.pagesizes import  A4
>from reportlab.lib.units import inch,cm
>...
>...
>c = canvas.Canvas("fn",pagesize=A4)
>...
>#Site 1
>...
>c.showPage()
>...
>#Site 2
>...
>c.showPage
>c.save()
>----------------------------------------------------------

Is that literally a copy of your code?  If so, you are missing the
parentheses on your second call to c.showPage.  That makes it a perfectly
valid statement that does absolutely nothing.
--
- Tim Roberts, timr@probo.com
  Providenza & Boekelheide, Inc.