Jump to content

Start New Sheet Based On Field


Recommended Posts

I am creating a pdf file to print address labels. There are 20 labels on a sheet so I have set up an appropriate imposition for that layout.


Now here is what I am hoping to do. I want to force it to start a new sheet based on data in one of the fields.


So for example: It starts creating sheets, gets to record 55 and sees the data indicating to start a new sheet. So there would be 2 full sheets (40) and one sheet with 14 addresses. The rest of the labels on that sheet would be blank and it would start with record 55 on a new sheet and continue imposing sheets until it sees the indicator in the data for a new sheet.


Any suggestions would be helpful.


Thank you.

Bob McGuire

Link to comment
Share on other sites

What you are looking to do is referred to as arbitrary chunking. You can search the forums for plenty of examples. I've attached a 20 up sample that you should be able to adapt.


The key components are two things you need to add to OnRecordStart:


FusionPro.Composition.chunksBreakStacks = true;

if (FieldChanged("Group"))


Where "Group" is whatever field designates a new imposition sheet.


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...