REPORTER 22.1

Text Output From a Program

Text output from a program

This option allow you to specify a program from which the text that would normally outputted to the standard output will be inserted into the report by REPORTER when the report is finally generated. The program can be written in anything you want: C, Fortran etc,a scripting language such as Perl or Python, a shell script on unix, a batch file on windows etc. All that matters is that output which would normally be directed to stdout is captured by REPORTER . For more details on writing programs for REPORTER please see Appendix D  .

The filename of the program/script is entered in the Program: text box or clicking on the Choose... button will bring up a File window from which to select the program/script. You can also enter variables by right clicking in the text box which will allow you to bring up a Insert variables window from which to select a variable. The various text parameters such as font and size can also be set.

The text parameters such as font, justification, size etc can be set for the text that will be captured from the program.

If the program needs arguments then any number can be added by using the Add button.

The Conditions... button (see Conditional Formatting) enables the user to apply conditional formatting to the text from the program.

The OK button will exit this window and add the new program to the template. The Cancel button will exit this window without adding anything to the report