Jump to content

Datamatrix Imposition Sheet Count


Recommended Posts

Thanks for making a new thread, and for posting the job.


First, let me reiterate that the issue doesn't really have anything to do with the Data Matrix barcode. It's simply an issue with getting the proper sheet number into a rule. In fact, in investigating your job, the very first thing I did was change the rule to simply return the number, and typeset that directly instead of making a barcode.


That investigation showed that there is a legitimate bug here. The root of it is that the feature to report the sheet number was developed for the very common case of a postcard-type job, where each record is output on the same sheet, or at least on different sides (front and back) of the same duplexed sheet. Basically, the sheet number reported is the sheet where the first page of the record is set.


I would submit that a job like yours, where a record of output spans multiple sheets, is a far less common case, and the code that reports the sheet number simply doesn't account for it. (The reality of imposition is that the number of possible combinations of repeating and stacking and collating records is basically infinite, so everything has to be programmed with certain assumptions.)


Anyway, I have entered a case for this.


Fortunately, there's a simple workaround for this job:

var sheetNumber = FusionPro.Composition.currentPageNumber + FusionPro.Composition.impositionSheetNumber - 1;

That should always get you the correct actual sheet number for the page on which the frame resides.


Finally, I would still encourage you to use a custom imposition background sheet to report the sheet number on, instead of putting it on an actual imposed page.

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