[reportlab-users] Shift Table to Top of Page

Henning von Bargen H.vonBargen at t-p.com
Fri May 17 05:00:14 EDT 2013


According to a comment on
http://stackoverflow.com/questions/4725711/set-pdf-to-print-with-no-scal
ing, this should work:
"""
When I used ReportLab's setViewerPreferences('PrintScaling', 'None') it
generated the line /ViewerPreferences 12 0 R and added 12 0 obj <<
/PrintScaling /None >> further down the page. The other possible value
seems to be /PrintScaling /AppDefault. - Kyle MacFarlane Feb 21 at 1:56
"""

It seems to work even if the PDF file states it's 1.5...

Henning


More information about the reportlab-users mailing list