Bmason1825 Posted November 13, 2023 Share Posted November 13, 2023 I am trying to put page numbers at the top of the page of a 50-up labels. I tried the $pagenum and it does not put anything in there. Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted November 13, 2023 Share Posted November 13, 2023 For imposed sheets, you need to use $impositionsheetnumber (and $impositiontotalsheets). These are not present in the Variable drop-down, but you can copy them in there and click Insert. Quote Link to comment Share on other sites More sharing options...
Bmason1825 Posted November 13, 2023 Author Share Posted November 13, 2023 thank you that worked. How do i get it to start back over at 1 once it starts a new store. Quote Link to comment Share on other sites More sharing options...
Bmason1825 Posted November 13, 2023 Author Share Posted November 13, 2023 Also for the total number of pages can you it only do the number of pages for each store. i.e. a store has 6 pages of labels but when compiling i have to compile all the stores so right now it is using the total pages for all stores Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted November 13, 2023 Share Posted November 13, 2023 What do you mean by "a new store?" Is that a new imposed stack? Or a new output file? You might be able to do some math in a JavaScript rule based on properties such as FusionPro.Composition.impositionSheetNumber, FusionPro.Composition.recordNumberInChunk, etc. Quote Link to comment Share on other sites More sharing options...
Bmason1825 Posted November 13, 2023 Author Share Posted November 13, 2023 a new imposed stack...each store is its own pdf Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted November 13, 2023 Share Posted November 13, 2023 So you must be calling either FusionPro.Composition.StartNewStack() or FusionPro.Composition.OpenNewOutputFile() in OnRecordStart. When you do that, capture the current value of FusionPro.Composition.impositionSheetNumber in a global variable, something like: lastChunkImpoSheetNumber = FusionPro.Composition.impositionSheetNumber; Then you can make another rule, called something like ImpoSheetNumberInChunk, which does this: return FusionPro.Composition.impositionSheetNumber - (lastChunkImpoSheetNumber || 0) + 1; And use the ImpoSheetNumberInChunk variable in the Text Editor. Quote Link to comment Share on other sites More sharing options...
Bmason1825 Posted November 14, 2023 Author Share Posted November 14, 2023 This code isn't what i need I need to be able to have it do page numbers for each store starting with 1 ie. page 1 of 6 page 1 of 3 is there an code you can help me with? Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted November 14, 2023 Share Posted November 14, 2023 If you try what I suggested, what do you get? Quote Link to comment Share on other sites More sharing options...
Bmason1825 Posted November 15, 2023 Author Share Posted November 15, 2023 I did do what you suggested i got page 1 of 1 page 2 of 2 and it didn't start over with one for a new store Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted November 15, 2023 Share Posted November 15, 2023 I'm not sure what you did in your template. You probably missed a step. At any rate, the attached template demonstrates this working.ImpoChunkTemplate.zip If you can't get it to work in your template, then you'll need to post your files here. 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.