[reportlab-users] Printing Problems
Garbage
reportlab-users@reportlab.com
Wed, 24 Mar 2004 03:21:46 -0500
Hello all,
Maybe someone here can help me out.
I'm trying to recreate a paper form using ReportLab and ideally, when I
print out my generated form, I want the dimensions of everything on the
page to be exactly the same as the original form I'm modeling. I did
canvas.setPageSize((612, 792)) which effectively sets up my canvas to be
exactly 8.5 in x 11 in, the dimensions of my original form. I have all
of the dimensions right when viewed using Adobe Acrobat 6.0 but when I
print out my generated form, the dimensions do not line up with the
original form. In other words, if I place one piece of paper over the
other, the lines, characters, boxes *should* line up, or at least come
close. They don't. The problem is that Acrobat tries to center it on the
page and scale it. If I tell it not to scale, some of the things on the
form come off the page. Considering the fact that my canvas is exactly
8.5 x 11 and the paper I'm printing on is 8.5 x 11 and scaling is not
done then shouldn't I get exactly what I have on the screen on to the page?
Does anyone know how to achieve this?
--Jeff