[reportlab-users] Bug in SimpleDocTemplate?
Tim Roberts
timr at probo.com
Thu Feb 1 15:12:24 EST 2007
Michael Hipp wrote:
> Here's a fragment of what I'm doing in trying to create a landscape document...
>
> from reportlab.lib.pagesizes import letter, landscape
> pageSize = landscape(letter)
> doc = SimpleDocTemplate(fnam, pagesize=pageSize, showBoundary=0)
>
> When I pull up the resulting pdf in Adobe Reader, it looks perfect, but it
> prints portrait. In the print dialog for Adobe Reader it tells me
>
> Document: 11.0 x 8.5 in.
> Paper: 8.5 x 11.0 in.
>
> Is this a bug or am I doing something wrong?
>
This is normal. When you have a landscape document, you have to change
the printer to print in landscape. Alternatively, the Acrobat dialog
has an "Auto-rotate and center" option that will do this for you
automatically.
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the reportlab-users
mailing list