Sample script: element GROUP
The GROUP in this example steps through the records of a CSV file, merging the data into fields in a print file. Caching the static elements of the pages is not a requirement, but if the printer is capable of storing overlays, it improves efficiency.
<IDF UNITS="INCHES" PLEX= "SIMPLEX" PAPER = "A4" FONT = "Times New Roman" POINTSIZE = "12"> <PAGE> <INCLUDE FILENAME = "c:\escapee\users.csv" PAGE = "NEXT"/> <INCLUDE FILENAME = "c:\escapee\letter.lsh" PAGE="1" CACHE="YES"/> <TEXT BOUNDS ="ADDRESS" BLANKLINES="NO"> <TEXT BOUNDS =" SALUTATION"><?EE TITLE?> <?EE NAME?></TEXT> </PAGE> <PAGE> </GROUP> </IDF> |
Links: