reportlab 尝试

1 inch = 2.5cm 1 point = 1/72 inch Setting the Page Size 8.5 inch = 8.5*72 = 612.0 point 1 cm = 28.34 points from reportlab.lib.pagesizes import LETTER canvas = Canvas("hello.pdf", pagesize=LETTER)  
相关文章
相关标签/搜索