AMT Help Files

Adding Banner Definitions

Banners can be added to the print output of a Batch Program by calling the Batch Program from a script which uses the comscript interface. The banner can then be set in the script via the comscript interface.

The banner information can be customized by editing the Banner file. The Banner file to use can be set by using the comscript commands AddBannerIdFile or AddDefaultBanner of the Job Interface.


When no Banner file has been set, the default Banner file should be named Banner.dat and should be placed in the root of the Print Output folder as set in the Control Center.
If no Banner.dat file is available, the banner will be filled through the default banner settings.

To create a custom banner file there are options available as listed in the table below.

In the file, every print definition must be preceded by one of the following specifications:

The letter specification (H/F/B) must be followed by a specification of the text that must be added in the format:

H:Header text with <Option1> and <Option2> included in the text.

The following options are available:

Option: Description: Default availability:
AMTVERSION Adds the concerned AMT version number. *
APPLICATION Adds the name of the concerned application. *
BANNERID Text will be printed as normal characters on the banner page. 
BANNERTEXT Text will be printed as Big Characters on the banner page.  
CR Adds a carriage return. 
DESCRIPTION Adds the description for the concerned report. *
ENDTIME Adds the time when the Print File is closed.
FF Adds a Form feed. 
INITIATOR Adds a specification for the station or session through which the report has been started. *
JOBTEXT Adds extra information for the job.
LF Adds a Line feed. 
MAXLINES Adds the maximum number of lines that can be printed per page according to the paper setting for the concerned printer. *
ONPRINTER Adds the name of the printer that is used. *
PAPERKIND Adds the kind of paper that is specified for the concerned printer. *
PRINTBACKUP Adds the name and location of the print backup file, *
PRINTOUTPUT Adds the print output specification. *
PROCESS_ID Adds the process id that has been given to the concerned print task. *
REPORTNAME Adds the name of the concerned report. *
STARTTIME Adds the time when the job has been started. *
USER Adds the name of the user account under which the job has been started. *