Posted 4 August 2017, 2:51 pm EST
I have a report saved as a ReportXML. The report is loaded through an ActiveX DLL. When calling the DLL from a VB application, the report renders fine with landscape orientation. When I call the DLL through an ASP page and try to view the report in the viewer ActiveX control, I see the red, vertical dotted line indicating that one or more controls is outside of the printable area, almost as if it did not recognize the orientation setting.
I have tried setting the print orientation in the report itself (File/Page Setttings) and through code in the ActiveX DLL when the report is first created. I have also tried putting code in the script's ReportStart event to set the orientation but nothing seems to work.