Sample script: element INCLUDE
This script uses the REPEAT attribute to enable each page from a named PDF file to be INCLUDEd one PAGE at a time, followed by a "Compliments" slip on another PAGE.
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <IDF> <PAGE REPEAT="YES"> <PAGE> </IDF> |
Omit the FILENAME from the INCLUDE statement above: and specify the file on the command-line or Run box instead: ESCAPEE c:\CustomerRecords\BrochureGarden.PDF /USING MailBrochure.idf where MailBrochure.idf is the name of this sample IDF file and BrochureGarden.PDF is the name of the file INCLUDEd in the document. This frees you to customize the document "on the fly" – there is no need to open and edit the IDF file each time you need to output a new variant of the document. |
See also Command-line sample script.
Links: