[reportlab-users] Printing Problem

Christian Klinger reportlab-users@reportlab.com
Tue, 28 Oct 2003 17:22:22 +0100


Maybe it's a problem of my linux acroread!
If I print the page in windows with a normal acrobat-reader there are no=20
problems!


-christian

> In article <200310281508.13014.christian.klinger@econtec.de>, Christian
> Klinger <christian.klinger@econtec.de> writes
>
> >Hello List
> >
> >I'm a Newbie in Reportlab
> >
> >This is my " simple example" Code
>
> without knowing exactly what #Site 1 & #Site 2 do it's fairly hard to b=
e
> sure. My version certainly produces two pages.
>
> ###########
> from reportlab.pdfgen import canvas
> from reportlab.lib.pagesizes import  A4
> from reportlab.lib.units import inch,cm
> c =3D canvas.Canvas("twosites.pdf",pagesize=3DA4)
> c.drawString(0,100,'#Site 1')
> c.showPage()
> c.drawString(0,100,'#Site 2')
> c.showPage
> c.save()
> ###########
>
> >---------------------------------------------------------
> >from reportlab.pdfgen import canvas
> >from reportlab.lib.pagesizes import  A4
> >from reportlab.lib.units import inch,cm
> >....
> >....
> >c =3D canvas.Canvas("fn",pagesize=3DA4)
> >...
> >#Site 1
> >...
> >c.showPage()
> >...
> >#Site 2
> >...
> >c.showPage
> >c.save()
> >----------------------------------------------------------
> >
> >This works fine! But if i print this in my Acrobat Reader then I got t=
hese
> > two Sites in one on the paper!
> >
> >Does anyone know the solution of this Porblem!
> >
> >thx christian