[reportlab-users] Get Total Page Count

Arnau Sellares arnausellares at gmail.com
Tue Nov 27 17:17:20 EST 2018


Hi Mike,

There are tutorials for it in The Mouse vs The Python blog (see section *How
to Add “Page Number of Total” in Reportlab* at
http://www.blog.pythonlibrary.org/2013/08/12/reportlab-how-to-add-page-numbers/),
as well as examples in ActiveState Code (
https://code.activestate.com/recipes/546511-page-x-of-y-with-reportlab/ and
https://code.activestate.com/recipes/576832/).

Arnau

On Tue, 27 Nov 2018 at 23:09, Mike Hostetler <mike at squarepegsystems.com>
wrote:

> I'm evaluating RML. Examples of both ways would be wonderful
>
> On Tue, Nov 27, 2018, 3:59 PM Andy Robinson <andy at reportlab.com wrote:
>
>> Mike, are you using RML or open-source reportlab/platypus?  I can
>> point you at examples either way...
>> On Tue, 27 Nov 2018 at 21:17, Mike Hostetler <mike at squarepegsystems.com>
>> wrote:
>> >
>> > Next newbie question...
>> >
>> > How can I get the total page count of the document to be in the PDF? I
>> need a footer with "Page x of Total". Will I have to do a "pageCallback"?
>> >
>> > --
>> > Mike Hostetler
>> > SquarePeg Systems
>> > http://www.squarepegsystems.com
>> > _______________________________________________
>> > reportlab-users mailing list
>> > reportlab-users at lists2.reportlab.com
>> > https://pairlist2.pair.net/mailman/listinfo/reportlab-users
>>
>>
>>
>> --
>> Andy Robinson
>> Managing Director, ReportLab
>> Wimbletech Zone 2
>> 35 Wimbledon Hill Road
>> London SW19 7NB, UK
>> Tel +44-20-8191-7277
>> _______________________________________________
>> reportlab-users mailing list
>> reportlab-users at lists2.reportlab.com
>> https://pairlist2.pair.net/mailman/listinfo/reportlab-users
>>
> _______________________________________________
> reportlab-users mailing list
> reportlab-users at lists2.reportlab.com
> https://pairlist2.pair.net/mailman/listinfo/reportlab-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/reportlab-users/attachments/20181127/c6479244/attachment.html>


More information about the reportlab-users mailing list