PDA

View Full Version : How is it possible turn on and off IgnoreRecordRepeat in OnJobstart?


ramses501
June 15th, 2012, 04:02 PM
How is it possible turn on and off IgnoreRecordRepeat in OnJobstart?
I want to be able to turn on and off the Ignore Record Repeat (and many other attributes of the JobOptions.) I have tried FusionPro.Composition.JobOptions.IgnoreRecordRepea t = false
and many other combinations and nothing has worked.
Any ideas?

(Eventually, I want to control CropMarksInBlack, IgnoreRecordRepeat, PageInfo and use a different imposition file.)

Thanks.

Dan Korn
June 18th, 2012, 08:14 AM
You can simply set FusionPro.Composition.repeatRecordCount = 1 in OnRecordStart (or skip any code setting it to a different value) to disable record repeats.

As for other settings such as Crop Marks and Page Info, those can be accessed but not modified in JavaScript rules. To control those settings programmatically, you need to use FusionPro VDP Producer (Server), which allows you modify job (CFG file) settings before composition.