[reportlab-users] Trouble printing at the edge of a letterformat

Ken Arneson arneson.ken at gmail.com
Sun Dec 31 13:15:43 EST 2006


Thanks for the reply, Henning. From the little research I did based on your
response, it looks like most printers have a "hardware" margin that is not
printable, and most hardware margins are larger at the bottom of the page
than at the top.

I suppose if I need to print at the very bottom of a page, I can have
ReportLab rotate the image 180-degrees, and then put the paper in the
printer backwards. That should give me access to the very bottom of the
page.

Thanks again. Happy New Year.

Ken


-----Original Message-----
From: reportlab-users-bounces at reportlab.com
[mailto:reportlab-users-bounces at reportlab.com] On Behalf Of Henning von
Bargen
Sent: Saturday, December 30, 2006 6:50 AM
To: reportlab-users at reportlab.com
Subject: Re: [reportlab-users] Trouble printing at the edge of a
letterformat


> From: "Ken Arneson" <arneson.ken at gmail.com>

> Subject: [reportlab-users] Trouble printing at the edge of a letter format

>

> Hello,

> I have an application where I need to print a line around the edge of an

> 8.5

> x 11 inch letter page. Even though I print at position 0,0 and the line

> appears on screen in the right position, the page prints the line about a

> half inch higher. It's as though there is some margin setting I need to

> adjust.

> Anyone know how I can print a border on the absolute edge of the paper -

> overriding any margin? I need to print in the space place that a web

> browser print places the URL of the page being printed.

> Any ideas would be greatly appreciated. Thanks.

>

> Ken


Hello Ken,
Printing PDFs from Windoze is something that's out of scope of ReportLab.
We are using PDFs as a platform-independent report format in out commercial
application and we had to learn that printing PDFs on MS Windows can be
tricky.

It really depends on the application that you are using.
I guess that you are printing from Adobe Reader.
The default print settings within Adobe Reader are such that
"automatically resize and rotate page to fit paper size" is set.
This will shrink the printed page such that the hardware margin
is kept free.
You can see in the print settings dialog that the page will be printed
at some 90 % of the original size.
In order to print the page exactly as-is, you'll have to uncheck the
checkbox so that the page is printed at 100% size.
Of course your paper should have the correct size, then.

If you are looking for other good software for printing PDFs from Windows,
you should check the PDF Printer API from www.pdf-tools.ch - however, this
is is a commercial application.
(I am not advertising it, we are just using it successfully in our own
commercial product).

HTH
Henning

_______________________________________________
reportlab-users mailing list
reportlab-users at reportlab.com
http://two.pairlist.net/mailman/listinfo/reportlab-users



More information about the reportlab-users mailing list