Home Devices

Merged PDFs and Page Numbers

edited April 2012 in Devices
I've just started looking into this merging of PDFs
and it's pretty cool. I thought we will have to use
3rd party executables to accomplish this.

One thing though is page numbering. Individually,
each PDF has a Page number.

for example :
Pdf1 = 3 pages
Pdf2 = 2 pages
Pdf3 = 5 pages

When merged of course the page numbers
will be out of whack. e.g. page 4 of the merged
pdf shows page 1(the beginning of Pdf2)


Is there any way for the PDF device to renumber them ?


Thanks !

Comments

  • edited April 2012
    Hi Peter,

    The PDF device has no knowledge of pagination during generation, this is
    a function of the report itself.

    Perhaps rather than using a TppSystemVariable for page number inside the
    report, you could use a TppLabel instead, and update its value in the
    OnStartPage event. You could then alter its starting point based on
    where the last report being merged left off.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.