MarkJonesEMKT Posted March 29, 2016 Share Posted March 29, 2016 Hello All, So I have been having some issues with FP Imposer and adding cover sheets to the beginning of the output pdfs. I have this working perfectly without an imposition and at one point it was working with a 2up imposition, but now it is adding blank pages to the document. Here is what I am doing. var stack = FusionPro.Composition.JobOptions["RecordsPerChunk"] / 4; if(cover = FusionPro.Composition.inputRecordNumber % stack == 1) { FusionPro.Composition.repeatRecordCount = 2; FusionPro.Composition.SetBodyPageUsage("SetSheet", true); FusionPro.Composition.SetBodyPageUsage("BSetSheet", true); } if((FusionPro.Composition.repeatRecordNumber == 1 && cover == false) || FusionPro.Composition.repeatRecordCount == 2) { FusionPro.Composition.SetBodyPageUsage("Page1",true); FusionPro.Composition.SetBodyPageUsage("Page2",true); } I am trying to output this 4up duplex on a sheet. The cover sheet will print with a back and repeat the record count. Then the record will repeat and print the front and back of the main page. This works perfectly, except that the imposition is repeating the cover page (without printing that it is to the log) after 2 records and then it is adding 2 blank pages every page. What might be wrong with this? Thanks for your time! Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted March 29, 2016 Share Posted March 29, 2016 If you want a slip sheet, you need to select it on the Imposition tab of the Composition Settings dialog. You can tell it to insert the slip sheet after every stack if you want. Quote Link to comment Share on other sites More sharing options...
MarkJonesEMKT Posted March 29, 2016 Author Share Posted March 29, 2016 I have tried in many different ways to make it work using the Imposition tab of the Composition Settings dialogue and I have never managed to get it to work with an imposition. The closest I was ever able to get it cut off half of the cover sheet and replaced it with blank space. However I did manage to get this working by changing the order of my "if" statements. Solution: var stack = FusionPro.Composition.JobOptions["RecordsPerChunk"] / 4; var cover = false; //check first for repeat if(FusionPro.Composition.repeatRecordNumber == 2) { FusionPro.Composition.SetBodyPageUsage("Page1",true); FusionPro.Composition.SetBodyPageUsage("Page2",true); } //Insert cover and repeat if(cover = FusionPro.Composition.inputRecordNumber % stack == 1) { FusionPro.Composition.repeatRecordCount = 2; FusionPro.Composition.SetBodyPageUsage("SetSheet", true); FusionPro.Composition.SetBodyPageUsage("BSetSheet", true); } //No cover and no repeat if(FusionPro.Composition.repeatRecordNumber == 1 && cover == false) { FusionPro.Composition.SetBodyPageUsage("Page1",true); FusionPro.Composition.SetBodyPageUsage("Page2",true); } Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted March 29, 2016 Share Posted March 29, 2016 I have tried in many different ways to make it work using the Imposition tab of the Composition Settings dialogue and I have never managed to get it to work with an imposition. The closest I was ever able to get it cut off half of the cover sheet and replaced it with blank space. However I did manage to get this working by changing the order of my "if" statements. Okay, if you got it to work, great. It's just hard to help without seeing the job files. 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.