Can you load multiple-page varialbe PDF documents using Printshop Mail?

Hi,

I am new to Printshop mail and have a VDP question related to multiple page PDF documents. Basically, I have some data in an excel spreadsheet which I may be used to reference a PDF document. My goals is to create a template which will dynamically load a different PDF based on data in an Excel spreadsheet.

Thanks in advance. I look forward to your reply.

Regards,
Greg

Hi Greg,

you can try the following script (just create in the scripts pane a new control-script):

var myFile = record.fields.RECORDFIELDNAME + ".pdf";
var myPath = "file:///C:/PSM/";
var activeSection = merge.template.contexts.PRINT.sections["Abschnitt 1"];
activeSection.background.source = BackgroundResource.RESOURCE_PDF;
activeSection.background.url = myPath + myFile;
activeSection.background.position = MediaPosition.ABSOLUTE;
activeSection.background.left = "0mm";
activeSection.background.top = "0mm";

Of course, you have to edit the red text…

Hope that helps.

Best regards,
Thomas