Use this record-level keyword to invoke a new medium map. Invoke medium map (IMM) specifies the name of the medium in a form definition. The medium map in the form definition allows the user to select or change print parameters such as input drawer, page rotation, or overlays.
The format of the keyword is:
INVMMAP(medium-map-name | &medium-map-name-field);
The medium-map-name parameter is required and defines a medium map in the form definition. This parameter is 8 characters. You can specify the medium map name as a constant or program-to-system field.
When you specify the medium-map-name parameter as a program-to-system field, the field must exist in the same record format as the INVMMAP keyword. It must be defined as length of 8, data type A (character), and usage P (program-to-system).
This keyword is valid with DEVTYPE(*AFPDS) and also a form definition must be specified on the print file. If DEVTYPE is changed to anything other than *AFPDS, the keyword will be ignored and a warning message will be issued at print time.
You cannot specify INVMMAP with the following keywords:
DRAWER
PAGRTT
SPACEA
SPACEB
SKIPA
SKIPB
The medium map specified remains in effect for the remainder of the file unless changed by another INVMMAP keyword.
Option indicators are valid for this keyword.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.