I had a look at xhtml2pdf and I am not sure how to implement it in my web2py application.
Do you save the PDF as a file or output it to the browser? Do you use the html generated by the web2py view and have the function calls in a view or do you generate the HTML another way in a controller function? On Fri, May 3, 2019 at 2:55 PM <jcrma...@gmail.com> wrote: > I use xhtml2pdf. > > > quarta-feira, 14 de Novembro de 2018 às 10:52:36 UTC, mostwanted escreveu: >> >> I have been researching this topic alot because i am trying to achieve >> this, i want to convert my view exactly as it to PDF, i came across some >> information on web2py-appreport but I don't understand exactly how it >> works, maybe its my slow mind, i followed the examples in >> https://github.com/lucasdavila/web2py-appreport/wiki/Docs-and-examples >> but the results are not what i want. >> >> I wanna have a button on my view which when i click converts that view in >> to pdf straight away and have it saved. Is this possible and if so how can >> i achieve it? >> >> (Smiles :) >> >> Mostwanted. >> >> -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/web2py/y73g4sctURs/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/CAMiH80yfJpjGbcCDBGdg5pBKNq8JB_6M%3DvUfgVz80DJ2qmHKeg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.