Recently we were able to solve an issue with the print medium on certain reports. It is not changed immediately in a report print dialog option when it is generated from a class that extends RunBaseReportDialog. This works fine when printing a standard report without extending from the RunBaseReportDialog class, (i.e, menu item object type is report).
The problem was caused by the following code line in method Classes/RunBaseReportDialog/main().The prompt is called from the reportRun object instead of the reportDialog object .
To solve the problem we therefore had to change the code line like this: