To direct output to a predefined terminal printer group, your Report logic must move a valid group name into GLB.TPGROUP before the first PRINT.FRAME; logic command in the Report, or before the first PRINT.FRAME; command after a RELEASE; command in logic. The group name may be input at runtime by using an ACCEPT; logic command (as shown in Example 2).
Example 1
MOVE; (MANAGERS) GLB.TPGROUP PRINT.FRAME; 20
Example 2
MESSAGE; (Enter TP GROUP Name) ACCEPT; TPGROUPNAME LE; 10 MOVE; TPGROUPNAME GLB.TPGROUP