S_Black Posted November 19, 2018 Share Posted November 19, 2018 I have multipe PDF files that need VDP, stacked & imposted. Some are simplex and others are duplex. I have the OnRecordStart set to pull the backside of the PDF if the PDF has two pages FusionPro.Composition.SetBodyPageUsage("Page2", Resource(Field("RemitPartID")+".pdf").countPages == 2) if (FieldChanged("PDM_Vsn")) { if (Resource(Field("RemitPartID")+".pdf").countPages == 1) { FusionPro.Composition.OpenNewOutputFile("10937 AD No.10 Remits " + Field("PDM_Vsn") + " Simplex_Print Ready." + FusionPro.Composition.outputFormatExtension); FusionPro.Composition.StartNewStack(); } else { FusionPro.Composition.OpenNewOutputFile("10937 AD No.10 Remits " + Field("PDM_Vsn") + " Duplex_Print Ready." + FusionPro.Composition.outputFormatExtension); FusionPro.Composition.StartNewStack(); } } Using this I can compose the document one time for all versions in the job, but the second page is removed because the imposition definition is simplex. The number of pages in this record does not match the imposition signature: 1 pages will be truncated. Is it possible to switch the Imposition Definition during the OnRecordStart so that any 2-Page documents impose using a duplex imposition and any 1-Page documents impose with a simplex? Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted November 19, 2018 Share Posted November 19, 2018 Is it possible to switch the Imposition Definition during the OnRecordStart so that any 2-Page documents impose using a duplex imposition and any 1-Page documents impose with a simplex? No. You can't currently modify the imposition in a rule, for either FusionPro VDP Server, Producer, or Creator compositions. In a FusionPro VDP Server workflow, you can change the ImpositionDefFileName entry in the CFG file to point to a different Imposition file for a composition. Quote Link to comment Share on other sites More sharing options...
S_Black Posted November 19, 2018 Author Share Posted November 19, 2018 Thank you Dan 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.