Page Numbering

Hi,

I have a question regarding Page Number,For example I have a 50 pager document and I want to display the page number from 1 to 50 to each of the pages of my document, In my current setup the page number restarts every time a new account is being displayed.

Hi ianvela35

Need a little clarification here. Are you wanting to…

add page numbers to 50 records:

Add and extract field to your data mapper. Change the fields Mode to JavaScript and type in the box record.index;

or do you have 50 print sections?

Add a control script to your template with the following code. So if you have 3 sections this will allow page numbering across sections without restarting at 1 each time. Just add another line for each section.

merge.context.sections[“Section 2”].restartPageNumber = false;

merge.context.sections[“Section 3”].restartPageNumber = false;

Hope this helps.

Regards,

S

Hi Sharne,

Sorry for the late reply, The job that I have has a total of 50 records in which these records have to be printed in a in a non fixed 3 pager print file. This print file can be 3 or more pages per record it depends on the data itself. I just want to have a control number that displays the page number across the print file. For example if the total no. of the print file is 150 pages. each page should display page 1, page 2 up until page 150.

Thanks.

Create an output preset with ‘Add additional content’ enabled. Then add your page numbers in there using:

${page.sequence.job}

More details on variables available in the output are in online help: http://help.objectiflune.com/en/planetpress-connect-user-guide/1.8/#designer/Output/Print/Variables_available_in_the_Output.htm%3FTocPath%3DOutput%7CPrint%2520output%7C_____5

Apologies for not answering but I’m experiencing a bug that wont allow me to use add additional content. I have support looking into it. I should be ok by tomorrow.

Hi Ian,

jondoe is right. Use what he suggested in a job preset and you are golden. Shout if you need an example.

Regards,

S

Hi Sharne,

I had a very long vacation from doing some PReS Connect Jobs, Anyway I’m back. Do you have a working example of a Job PreSet? It would be of great help for the sequence paging I’m currently doing. Thank you very much.

Regards,

Ian