[reportlab-users] Bug in SimpleDocTemplate?

Robin Becker robin at reportlab.com
Thu Feb 1 12:20:55 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?

>


well when I do it I in document properties 792 x 612 ie landscape letter, but in
my print dialog I see a diagram with dimensions 841 x 595 (because I have A4
paper) so that's also landscape.


How does your document look in reader and how does it actually print?
--
Robin Becker


More information about the reportlab-users mailing list