[reportlab-users] How to create a pdf in landscape format?

Dinu Gherman reportlab-users@reportlab.com
Fri, 16 May 2003 18:05:07 +0200


Nathalie Mansouri:

> I have a problem to create pdf file in landscape format, the pages are=20=

> fine, I get them in landscape format using: [...]
> but the contents in 'self.Elements' are still printed in the default=20=

> format???
>
> Doc =3D SimpleDocTemplate(File)
> Doc.build(self.Elements, onFirstPage =3D self.FirstPage, onLaterPages =
=3D=20
> self.LaterPages)
> Does anyone have an idea on how to solve this problem?

Why is it a problem? For documents on screen you probably don't want
to turn your head 90 degrees left or right, do you? And on paper
the printer should get it (hopefully) right for you, I'd guess.

Cdlt,

Dinu

--
Dinu C. Gherman
......................................................................
"Les gens se divisent en deux cat=E9gories=A0: les uns cherchent et
ne trouvent pas, les autres trouvent et ne sont pas contents."
(Mihail Eminescu)