These topics show example IDF scripts to demonstrate how IDF elements and attributes may be used. An xml header may not be necessary if the document was saved in UTF-8. Typical headers:

<?xml version="1.0" encoding="UTF-8"?>

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

Examples of elements:

Element DEFINE sample script, also GROUP, INCLUDE and PAGE elements.
Element FIELD sample script, also TEXT element.
Element FILE sample script, also GROUP, PAGE and TEXT elements.
Element GROUP sample script, also INCLUDE, PAGE and TEXT elements.
Element IDF sample script, also FILE and PAGE elements.
Element INCLUDE sample script, also PAGE and TEXT elements; command-line tips.
Element INFO sample script, also FILE and PAGE elements.
Element TEXT sample script, also GROUP, PAGE and TEXT elements.

Plus an example to illustrate the Bezier, Polyline and Move elements:

Drawing elements sample script

Examples of attributes:

INDEX sample script, also PAGE attribute.
LINEEND, LINEJOIN sample script, also THICKNESS, X and Y attributes.
LINESTYLE sample script, also FONT, WEIGHT, X and Y attributes.
MONOCHROME sample script, also FILENAME and FILETYPE attributes.
ROTATE sample script, also ALIGN, HEIGHT, ORIENT, SHAPE, UNITS, X and Y attributes.
STEPX sample script, also LEFT, TOP and UNITS attributes.
STEPY sample script, also ORIENT, PAPER and STRING attributes.
TRIM sample script, also ALIGN, TOP and DEBUG attributes.

Plus examples to demonstrate how to create "two-up" pages from a file nominated by a user and USING the command-line:

Double page sample script: DEFINE, FILENAME, NAME, PAGE, SCALE, STRING, and REPEAT attributes.
Command-line sample script: FONTSIZE, REPEAT and STYLE attributes; /USING command-line option; LOF file.

Example of a script created by a wizard:

Mail-merge sample script: BLANKLINES, BOUNDS, FILETYPE, PREFIX, REPEAT, SIDE attributes and FORMAT instruction.