If the default alarm record format is used, or a record format that contains a numeric priority and a text message is used, the default printing module can be called. The default printing module is "AlarmDefaultPrintLine". The following variables can be set in Config.ini [SYSTEM] Section Variables for Alarms to define and control alarm line printing:
Required:
• AlarmPrintOn – Must be set to 1 for printing to occur
•
AlarmEventDesc
– Event description for event
(where "
" indicates
a number)
Optional:
• AlarmEventDescWidth – Width of printed event field; default = 11
• AlarmPriorityDescWidth – Width of printed priority field; default = 11
• AlarmPrintDateFormat – Format to display date; see Date function for a list of formats; default = 2
• AlarmPrintTimeFormat – Format to display time; see Time function for a list of formats; default = 2
• AlarmPrintPort – Port to print alarm through; default = 1
• AlarmMessageField – Field in database in which to find message; default = 1
• AlarmPriorityField – Field in database in which to find priority; default = 2
• AlarmMinPriority – Minimum priority to print; default = Invalid
• AlarmMaxPriority – Maximum priority to print; default = Invalid