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

 

 

 

 

 

 

 

 

 

 

 

 

 

2Testing remap of item lines with random line positions

5ITEM Fish:

6Shark

7Flounder

8Herring

9Salmon

12ITEM Pets:

13Cat

14Dog

15Chinchilla

16Parrot

17Hamster

18ITEM Riding animals:

19Horse

20Camel

21Elephant

22

23 This should be a fixed footer

Page 2:

*....

+....

1....

+....

2....

+....

3....

+....

4....

+....

5....

+....

6....

+

1

 

 

 

 

 

 

 

 

 

 

 

 

 

2Testing remap og item lines with random line positions

6ITEM Cars:

7Rover

8Porsche

9Volvo

10Mercedes

11Opel

12Audi

13

14ITEM Aeroplanes:

15Ellehammer

16Boing

17MIG

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.

User’s Manual for InterForm400® 107

Page 107
Image 107
Intermate iSeries, i5, AS/400 manual Example of Advanced use of Sub-overlays Random text lines