Closed GoogleCodeExporter closed 8 years ago
Typos:
def report():
"example to generate a pdf based un basic html (use http:/.../report.pdf download the pdf)"
^------------------------------------
response.view = "generic.html" # default view to test html generation
response.title = "web2py sample report"
# include a google chart!
url = "http://chart.apis.google.com/chart?cht=p3&chd=t:60,40&chs=250x100&chl=Hello|World&.png"
chart = IMG(_src=url, _width="250",_height="100")
------------------------------------------------------
def invoice():
"example to generate an invoice based on a geeric pdf template"
^---------------------------------------------
# for more info see https://code.google.com/p/pyfpdf/wiki/Templates
from gluon.contrib.pyfpdf import Template
import os.path
# generate sample invoice (according Argentina's regulations)
Original comment by mweis...@gmail.com
on 5 Mar 2013 at 2:15
Hello, could you please split this in several smaller issues? thanks for you
contribution!
Original comment by reingart@gmail.com
on 5 Mar 2013 at 2:41
Please see issue 68, there are some hints about how to use ttf fonts and html
Original comment by reingart@gmail.com
on 5 Feb 2014 at 4:23
Original issue reported on code.google.com by
mweis...@gmail.com
on 5 Mar 2013 at 2:07Attachments: