incluiding another attachment
Hi,
I'm trying to figure out if it is possible to attach a standard PDF document to the print definition that I am sending via email.
I only have a PDF document and not the layout. I know I can create the layout based on the document, but I am trying to avoid that extra work because it's quite labor-intensive. It would be easier to simply include the document.
I'll apreciate the answer
0
-
Hi Tarik,
it is not possible in the PrintDef but in the Layout.
You could add in the generate script something like that
If Not Engine.IsDoublePass And GetData("LD.Par.PrintMode") = "E" And LEFT(GetData("LD.SysPar.PrintDefId"),10) = "Attachment" Then
LD.AddAttachment("Path")
End Ifregards Lothar
0 -
Thank you! it works :)
0
Please sign in to leave a comment.
Comments
2 comments