Jump to content

Recommended Posts

Posted
I have a multipage document based on an order which includes the number of sheets. I am using overflow pages off a template to create the additional output pages. In order to include a 2D barcode(DataMatrix) on each output sheet for my inserting equipment I need to know the Page Number I am currently about to create so I can include Page Number and whether of not it is the end of the order in the barcode. How do I access the current output page?
Posted

I think these are the properties that would help you:

FusionPro.Composition.totalPages will tell you how many pages are in a specific record.

FusionPro.Composition.currentPageNumber will give you the current page of a specific record.

 

In order to determine if you're at the end of an order you'd just do something like this:

if (FusionPro.Composition.currentPageNumber == FusionPro.Composition.totalPages){
    [i]//Barcode logic[/i]
}

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.

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