Microsoft Word Template

A Microsoft Word template document, FR_TextTemplate.doc, is installed on the Financial Reporting print server in the ${home.reports}/bin/ folder. When the template is found by the Financial Reporting print server, the contents of the text file is inserted into the Word template, after which the existing routine that prints Word documents is used to print text files. When the print job has finished, the file is closed without saving, preserving the template for the next text file.

Default template settings

By default, the Word template has:

Customizing the template

Always make a backup of the template before customizing it. You can open the template through Microsoft Word. Any changes to the template are applied the next time a text file is printed. The Financial Reporting print server does not need to be restarted.

In the<<FR_content>> string, you can specify the font and paragraph settings for the inserted text file content and should be included in the FR_TextTemplate.doc template.

When printing a text file, the Financial Reporting print server opens FR_TextTemplate.doc and looks for the <<FR_content>> string. If found, the contents of the text file replaces the string. If the string is not found the contents of the text file is inserted at the end of the Word document and any pre-existing content in the template is shown before the data in the text file.

Benefits of implementing the Microsoft Word template