cecprepress Posted October 21, 2014 Share Posted October 21, 2014 This question has been somewhat answered here: http://forums.pti.com/showpost.php?p=14285&postcount=10 But I'm having an issue with the output. I have a front that is a static background for all people, with variable data fields for name & contact info. Then there are 3 pages in the file representing different static backs (blue, orange, purple) - so ultimately each person will have 3 finished, double-sided business cards. I based my OnRecordStart rule on the post above, tweaking the names where needed. It is: // Set all body pages to be unused initially in the Page Usage dialog. FusionPro.Composition.SetBodyPageUsage(FusionPro.Composition.repeatRecordNumber, true); var BackNames = ["-blue", "-orange", "-purple",]; FusionPro.Composition.repeatRecordCount = BackNames.length; var BackToUse = BackNames[FusionPro.Composition.repeatRecordNumber -1]; var OutputName = Field("First Name") + Field("Last Name") + BackToUse + "." + FusionPro.Composition.outputFormatExtension; FusionPro.Composition.OpenNewOutputFile(OutputName); Print("Changing to output file: " + OutputName);It processes fine, except one of the output files is just the front side, and the remaining files end up being named wrong. So 'blue' is the first file that is just the front side, no back. 'orange' has the blue back, 'purple' has the orange back...so everything is off by one because the 'blue' file is only outputting the first page (front). I can sort of fix it by adding a "", before the color names in the 'BackNames' variable, but then I get a 4th output file that is just the front page that needs to be deleted. This seems like an easy fix, but I'm banging my head against the wall here. I'm using Acrobat XI, FusionPro Creator 9.2.20. Thanks Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted October 23, 2014 Share Posted October 23, 2014 It's hard to analyze this just from looking at the rules. Can you post the collected job, or a minimal example of it? Quote Link to comment Share on other sites More sharing options...
cecprepress Posted October 27, 2014 Author Share Posted October 27, 2014 The zip file attached has example data and art (which is what I have to work from currently while the client is designing and collecting the various contact info.Examples.zip 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.