at the beginning of the task. It takes effect the SECOND time you run the task. It doesn't work very well if you want to mix portrait and landscape in the same project.
If you want the entire project to be landscape, you can go to
Tools --> options --> Tasks; Insert Code
and insert the OPTIONS statement there.
Best way to do it is to turn off the EG-generated ODS code and write your own. First add the following custom code to the beginning of the task. To get to custom code in a task window select Preview Code -> Insert Code:
And then add the following custom code at the very end:
ods rtf close;
In the Properties of the task (In EG 4.1 right-click on the task in the project and select Properties, in EG 4.2, select Properties in the task dialog), select Results and deselect all output formats. The custom code will then create the RTF file and a link to the file will be included in the project.
This method will run correctly the first and every time and will not interfere with other tasks.