Appending Documents
The following code will load a PDF document, append a range of pages from one document to it, and then append another entire document to it.
[ASP - VBScript]
<!-- METADATA TYPE="typelib" UUID="{DF9225FE-94A4-490D-8CAD-E8366CE621D3}"-->
<%
Dim MyDocument
Set MyDocument = Server.CreateObject( "DynamicPDF.Document" )
MyDocument.LoadPdf Server.MapPath( "PDFs/DocumentA.pdf" )
MyDocument.AppendPdf Server.MapPath( "PDFs/DocumentB.pdf" ), 1, 2
MyDocument.AppendPdf Server.MapPath( "PDFs/DocumentC.pdf" )
MyDocument.DrawToWeb
Set MyDocument = Nothing
%>