Example DAL Scripts

These scripts are referenced in the DAL configuration of the Documaker INI file. This configuration was described earlier, but is presented here for reference:
; Enable the Banner and Transaction DAL Scripting
< Printer >
; Must generally enable banner processing for it to work.
EnableBatchBanner = Yes
EnableTransBanner = Yes
PrtType = PDF
< Batch6 >
      EnableBatchBanner	= Yes
      EnableTransBanner	= Yes
      BatchBannerBeginScript = AOR_PREB
      BatchBannerEndScript	= AOR_POSTB
      TransBannerBeginScript = AOR_PRET
      TransBannerEndScript	= AOR_POSTT
      Printer	= Printer6

In the example presented earlier, they are called during processing of the Batch6 grouping. The code for the routines is shown below, with the main entry points listed above shown below in the order they are called. The TransBanner routines are called repeatedly for each transaction that is part of the batch, before the final call to BatchBannerEndScript.

BatchBannerBeginScript = AOR_PREB
       TransBannerBeginScript = AOR_PRET
       TransBannerEndScript   = AOR_POSTT 
       BatchBannerEndScript   = AOR_POSTB