Intermate iSeries User Manual

Page of 490
User’s Manual for InterForm400®  
107
Example of Advanced use of Sub-overlays (Random text lines)
A very strong feature of InterForm400
®
, is the ability to handle spool entries with randomly
positioned text lines so each line gets an individual formatting. The general description on
using sub-overlays are described on page 67, ?=If..then.
The following is an example of a print job consisting of a random number of Item groups,
each containing a random number of Item lines. The Item groups will furthermore appear
in random line positions, and there will be a footer appearing in a random line position.
Page 1:
*...+....1....+....2....+....3....+....4....+....5....+....6....+
1
2         Testing remap of item lines with random line positions
3
4
5         ITEM Fish:       
6          Shark
7          Flounder
8          Herring
9          Salmon
10
11
12        ITEM Pets:
13         Cat
14         Dog     
15         Chinchilla
16         Parrot   
17         Hamster 
18        ITEM Riding animals:
19         Horse  
20         Camel
21         Elephant 
22
23        This should be a fixed footer    
Page 2:
*....+....1....+....2....+....3....+....4....+....5....+....6....+
1
2          Testing remap og item lines with random line positions 
3
4
5
6          ITEM Cars:   
7           Rover   
8           Porsche 
9           Volvo 
10          Mercedes  
11          Opel     
12          Audi
13
14         ITEM Aeroplanes:
15          Ellehammer      
16          Boing                                                 
17          MIG
18
19         This should be a fixed footer
(Line numbers are not part of the spool entry)
We want to format this print job as follows:
1.
The text ITEM should be placed as a header of each item group with a 16 point
font.
2.
The Item group names (Fish, Pets etc), should be moved down and placed as
sub-headers below the header (ITEM), and should be printed with a 12 point font.
3.
The items should be printed just below the item group name, with a 10 point font.
4.
The footer should be placed in a fixed position with Courier 10.