Hi, happy new year bro!

I'm not using templates, i hard code my pdf pages, with the classes
'header' and 'footer' of the FPDF..

and the end of the function i make: pdf.add_page()..
but it's "clone" the first page anytimes i call add_page(), but i'm want to
change the content..

You can explain how i'm merge two functions, thats return a pdf ?

2016-12-31 12:18 GMT-02:00 Edwood <edwood.oca...@gmail.com>:

> Hi!
>
> If you are using FPDF's templates you can treat each page as a different
> template and then use the PyPDF2 library and its objects PdfFileMerger and
> PdfFileReader to merge all the pages in a single document.
>
>
>
> On Wednesday, December 28, 2016 at 9:30:05 PM UTC-4, Áureo Dias Neto wrote:
>>
>> Good night,
>>
>> How i'm add a new page, and set new content to this, on pdf, with fpdf?
>>
>> I use pdf.add_page(), but the content o the second page is the same as
>> the first..
>>
> --
> 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.
> 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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to