#1
|
||||
|
||||
![]()
Background: Simple coupons with sequential numbering set 4Up on a sheet.
Problem: Sequential starting number works if I don't have "stack" set in the imposer. Once "stack" is set the starting number is disregarded and begins at 1. OnJobStart Code: Code:
var startNumber = 69000; //Enter the begin number provided. var totalCoupons = 1875; //Enter the number of total coupons var endNumber = (startNumber + totalCoupons) - 1; FusionPro.Composition.composeAllRecords = false; FusionPro.Composition.startRecordNumber = startNumber; FusionPro.Composition.endRecordNumber = endNumber; Code:
return CurrentRecordNumber(); Simplex Stack Count 10000 OR Checked Infinite Stack Vertical Count 4 0" Spacing Goal: To have a coupon numbering system that did the counting down stack starting at a number other than 1 Answer: Made suggested changes to OnJobStart code and EmptyRule code provided by tou in the second post. Thanks! ^^,
__________________
Audra Landis Computer Systems Admin VDP Producer v10.0.3 Windows 7 / Windows 10 Acrobat Pro DC (2015.010.20056) Last edited by Landisa; June 30th, 2016 at 10:56 AM.. Reason: Change title to Solved |
#2
|
|||
|
|||
![]()
your onJobStart should reference the total number of coupons only...
Code:
var totalCoupons = 1875; //Enter the number of total coupons FusionPro.Composition.composeAllRecords = false; FusionPro.Composition.startRecordNumber = 1; FusionPro.Composition.endRecordNumber = totalCoupons; Code:
FusionPro.Composition.chunksBreakStacks = true Code:
return CurrentRecordNumber()+69000; I think you can call global variables, but you'll need a onRecordEnd to increment it? I don't know global variables too well at this point. Sorry. Hopes this helps. Last edited by tou; June 30th, 2016 at 10:02 AM.. |
#3
|
||||
|
||||
![]() Quote:
__________________
Audra Landis Computer Systems Admin VDP Producer v10.0.3 Windows 7 / Windows 10 Acrobat Pro DC (2015.010.20056) |
![]() |
Tags |
coupon, imposer, numbering, sequence, stack |
Thread Tools | Search this Thread |
Display Modes | |
|
|