[reportlab-users] restart page numbering

David Hughes dfh at forestfield.co.uk
Mon Nov 2 06:12:53 EST 2009

Christian Jacobsen wrote:

> 2009/11/2 David Hughes <dfh at forestfield.co.uk>:


>>> Jeffrey O'Neill wrote:


>>> Currently, the first body page starts with page number 3. Is there a

>>> way to change this so that the first body page is number 1?


>> Please don't do that ;-)


>> One of my pet hates is to read a PDF document where the page numbers in the

>> TOC are not the same as the physical page numbers the browser uses for

>> navigation.



> There is absolutely nothing wrong with restarting the page numbers

> printed in a PDF. I agree that it is annoying when the logical page

> numbering (what the PDF viewer thinks a page number is) does not match

> up with what is printed on the page. Luckily this is reasonably easy

> to get around using PDFPageLabels:

> http://www.reportlab.org/apis/reportlab/reportlab.pdfbase.pdfdoc.PDFPageLabel-class.html


> See also the PDF standard section 8.3.1 on "Page Labels" (page 481):

> http://www.adobe.com/devnet/pdf/pdfs/PDFReference.pdf

Thanks for showing me the difference between page labels and indices and
allow me to withdraw the first sentence of my post. My pet hate still
stands, even though my simplistic explanation of it was flawed.
David Hughes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20091102/6ea9621c/attachment.html>

More information about the reportlab-users mailing list