ActionWare400 Technical Notes
HOW TO SPECIFY A DIFFERENT PRINT MARGIN

The facility described in this document is supported by ActionWare400
(formerly TeleMagic/400) version 4.50 level 006 and above.

During a regen, ActionWare400 creates several printer files. These are
created with a margin of 10 blank characters. The actual print data is from
position 11 to position 90, depending on the user definition.

If this is not suitable for your printer, here is how you can define a
different margin.

Create a data area named ZZPRTM in the library you are using, normally this
will be TM4L. Define it as 3 long, type decimal. Give it an initial value of
what you want the margin to be. Valid values are 0 through 40.

An example of the command is:

CRTDTAARA DTAARA(TM4L/ZZPRTM) TYPE(*DEC) LEN(3) VALUE(0)
This example command will cause your print files to be regenerated with no
margin, the data will start in position 1.

A "label change regen" is all that is necessary to activate this function,
provided, of course, that there have not been any other definition changes
made which would make a full regeneration necessary.  If you are not sure, do
a full regen.
 

Last Updated:  January, 1996