Jump to content

Page Cycle Rule


Recommended Posts



I am trying to create a rule that will return a cycle number (1-7) so our envelope machine can read the number. I have a 3 page letter with 1200 records and I end up with 3600 printed pages. I need the the page numbering to return back to 1 for page 8,15,22,29 and so on. Can a simple rule be created to do this.




Bob Sager

Link to comment
Share on other sites

Thanks Dan,

I have the OnPageNumber Rule but I'm not sure what the change would be.


// Note: Always returns 1 for rule validation in the Rule Editor

return FusionPro.Composition.currentPageNumber;

Probably this:

return ((FusionPro.Composition.currentPageNumber - 1) % 7) + 1;

The percent sign "%" is the modulus (remainder) operator in JavaScript.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...