Re: Get Total Page Count

Arnau Sellares <[email protected]>
Newsgroups gmane.comp.python.reportlab.user
Message-ID <CALti0t2hvUR1msuMxWbfm_4WOt0aROtvCvJLWa4DBN3NhmoPeg@mail.gmail.com>
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 <[email protected]>
wrote:

> I'm evaluating RML. Examples of both ways would be wonderful
>
> On Tue, Nov 27, 2018, 3:59 PM Andy Robinson <[email protected] 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 <[email protected]>
>> 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
>> > [email protected]
>> > 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
>> [email protected]
>> https://pairlist2.pair.net/mailman/listinfo/reportlab-users
>>
> _______________________________________________
> reportlab-users mailing list
> [email protected]
> https://pairlist2.pair.net/mailman/listinfo/reportlab-users
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.