I’m using a 2 page pdf, named in the data, as a dynamic background. I’m having trouble rotating the image on just the second side of the template. I thought the sheet configuration, duplex:tumble = checked might do the trick for me, but it seems to make no difference in my output.
I have variable elements on the front of the document + p1 of the pdf as a background. On the back, I just have p2 of the pdf as the background. Where is the correct place to make this happen? I see the option for background.rotate = 180, but I need it to apply to only p2
My current control script for the dynamic background is:
//for images all stored in the images directory
var field, result = “d:\data\temp\images\”;
field = record.fields[“COLUMN12”];
if (field !== “”) result += field + “.pdf”;
var background = merge.template.contexts.PRINT.sections[“duplexPostcard”].background;
background.source = BackgroundResource.RESOURCE_PDF;
background.allPages = true;
background.url = result;
Thanks,
Jim