Fletch Posted April 10, 2017 Share Posted April 10, 2017 I am going to run a job 3-up on a sheet. I need to number each of the first 3 records on sheet 1 with a 1, the next 3 on sheet 2 with a 2, and so on. I tried to use the CallBackPageCount and CallBackPageNumber, but both just give me a 1 on all records. Can anyone help? Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted April 10, 2017 Share Posted April 10, 2017 (edited) In the Variable box on the Text Editor, type (or paste) "$impositionsheetnumber" (without the quotes) and click Insert. Or, in a JavaScript rule, return FusionPro.Composition.impositionSheetNumber. Edited April 10, 2017 by Dan Korn Quote Link to comment Share on other sites More sharing options...
Fletch Posted April 10, 2017 Author Share Posted April 10, 2017 The first solution literally just prints the text,$impositionsheetnumber. (I did omit the quotes) The second solution gives me an error that the Function does not return a value. Any ideas what I'm doing wrong? Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted April 10, 2017 Share Posted April 10, 2017 The first solution literally just prints the text,$impositionsheetnumber. (I did omit the quotes) You need to type or paste it into the Variable drop-down box in the Text Editor and click Insert, not just paste it into the main text area. TThe second solution gives me an error that the Function does not return a value. In the Rule Editor? Many of the properties of FusionPro.Composition don't have valid values at rule validation time. Try composing the output; it will work at composition time. Quote Link to comment Share on other sites More sharing options...
Fletch Posted April 10, 2017 Author Share Posted April 10, 2017 I knew it was something I was doing wrong. Sorry about that. It worked this time. Thanks a million. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.