OVERLAY

OVERLAY = <amos filespec>

Example:   OVERLAY = ASHCFG:INVOIC.OVL

(Windows only, PASSHTHROUGH must be off.) If specified, the corresponding file is printed at the start of every page. The overlay file must be limited to a single page (with no form feed characters.) Typically, overlay files consist of GDI print commands (see GDI Printing) to create the background of a form, or perhaps letterhead. This is logically equivalent to you including the same text at the start of every page of your report, but obviously, this way is much cleaner and simpler. Note that the printer “cursor” position is reset to the top of page after rendering the overlay, so it should have no residual effect on how the original print file prints.

The filespec specified with the command assumes a default file extension of “.OVL.”

When converting from a pre-printed form printed in PASSTHROUGH mode to a laser generated form using OVERLAY, you’ll probably need to use PITCH=AUTO and CPP=80,132 to simulate the original printer font, and you may want to use the XORIGIN and YORIGEN commands to make up for the loss of ability to move the paper in the printer.

Also see the forum dicussion "Generating forms on demand" for more information on strategies for replacing pre-printed forms.