Description This example project enabling alarms and trends to be printed to the same printer without difficulty and it allows formatting.
What it does is it takes a template file (in RTF format which includes header and footer information as well as font types for the alarm data itself), and then prints the alarm data to that template. It also paginates the data to a number of lines per page specified in the template file.
It is designed to do all this to a temporary RTF file just for printing, but can be used to create the RTF file for other purposes (eg to send by email) if required.
The test page in the attached project will take [DATA]:alarmlog.txt (which isn't included in the project) and print it to the users choice of printer.