You can create page groups in AFP files. Page groups organize AFP files into smaller,
uniquely identifiable units. When you create page groups, any existing page groups
defined in the AFP file itself are not used.
You can create page groups that are a fixed number of pages long, or you can create
page groups of variable length by defining triggers. You can also define which pages are used for header and trailer pages. AFP Indexer creates the first page group after the defined number of header pages. It creates
the final page group before the defined number of trailer pages.
The sample AFP file must contain page groups before you can define header and trailer pages, create index tags for a page group, or make any other enhancements. If page groups
are defined in the AFP file itself, you can use these page groups or you can create
new page groups.