IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#21121 - 04/08/09 12:15 PM Page Numbering
JGassoway Offline
Junior Member

Registered: 08/15/08
Posts: 13
I have a six page document that needs page numbering on it. Every page can have multiple copies of it and I need the page numbering to restart on each page. For example, the first page might have three copies, so the copies would be numbered 1,2,3 and then the second page would start over at 1.

Currently I am using inttostr(¤t.printpage) but it is printing the actual page number rather then the copy number. So instead of the second page starting over at 1 as in the previously stated example, it starts at four.

Is there any way to do this?

Top
#21122 - 04/08/09 12:24 PM Re: Page Numbering
Raphael Lalonde Lefebvre Offline
OL Expert

Registered: 10/14/05
Posts: 4956
Loc: Objectif Lune Montreal
JGassoway,

Are you using a presstalk to call the pages? If so, maybe the best way would be to create a global variable that starts at 1, keep incrementing everytime you call a specific page, and then be reset to 1 when the copies are done printing. You then modify the pages to display the variable's value as the copy number.

Regards,
Rapha

Top
#21123 - 04/08/09 04:49 PM Re: Page Numbering
JGassoway Offline
Junior Member

Registered: 08/15/08
Posts: 13
I ended up creating a global variable and incrementing it in the "presstalk before" portions of the overflow pages and it worked perfectly. Thanks for the help!

Top


Moderator:  cosimo, OL Newsgroup Support