The LinePrinterRecipient allows you to print alarms to line printers. The printer must be “known” to the Windows OS of the host platform, and selected from the printers drop down-list.
In AX-3.7 and later, a PrinterRecipient component is also available. It provides more formatting options, applicable to most modern printers. See About the printer recipient.
The station must have permission to print on any printer chosen (which is typical).
Alerts may be generated if the printing of an alarm fails, but the lineprinter recipient does not print alarms that it generates itself. An example lineprinter recipient property sheet is shown in Figure 257.
Lineprinter recipient properties are described in the following list:
Time Range
allows you to set a limited period of time during a day for collection of alarms, using the following parameters:
Start Time
a time of day to begin alarm collection, defined by hour, minute and second.
End Time
a time of day to end alarm collection, defined by hour, minute and second.
Days Of Week
option boxes allow selection of specific days to collect alarms.
Transitions
option boxes allow selection of specific alarm transitions to display in the console. Only those transitions that are selected will be displayed in the console – even though the alarms are still saved into the alarm history.
Route Acks
when this parameter is set to true, Acks are routed to this recipient; when set to false, only alarms (not Acks) are routed to the recipient.
Printer
a drop-down list shows printers available for selection. Select a printer from the list, which reflects printers (both locally attached and remote networked) that are “known” to the host platform’s Windows operating system. These are the only valid printer values (example in Figure 258).
Language
this field provides a place to enter the ISO 639 language code for the language associated with the printer. This is a two letter code (lower-case preferred). Refer to the following link for the complete list of codes: http://www.loc.gov/standards/iso639-2/php/code_list.php.
Print Format
This field has the following editable default parameters.
Source: %alarmData.sourceName%
this parameter sends the source name of the alarm to print on the first line.
Timestamp: %timestamp%
this parameter sends the timestamp of the alarm to print on the second line
State: %sourceState% / %ackState%
this parameter sends the alarm state and the acknowledged state to print on the third line
Priority: %priority%
this parameter sends the alarm priority to print on the fourth line
Alarm Class: %alarmClass%
Text: %alarmData.msgText%
For more information about how to format data in this field, click on the help icon
to the right of the field.
Alert on Failure
when this parameter is set to true, an alert is generated if the printer fails to print the alarm.
Alarm Source Info
contains the usual set of properties for configuring and routing alarms sourced from this component—in this case “alerts” for any failed print attempt (provided that “Alert on Failure” is true).
Copyright © 2000-2014 Tridium Inc. All rights reserved.