Page 1 of 1

Print to PDF in Internet explorer

Posted: Wed Sep 20, 2017 1:44 pm
by IskandarAir
Dear Stimulsoft Team,

In the Internet Explorer, "Print to Pdf" function does not work as expected. Indeed, report file is being returned without .pdf extension. Thus it is just a unreadable file. In Chrome or in Mozilla this function works okay. But I would like to ask what to do with IE ?

Code snippet:

report = StiMvcViewer.GetReportObject()
return StiMvcViewer.PrintReportResult(report);

regards,
Iskandar

Re: Print to PDF in Internet explorer

Posted: Thu Sep 21, 2017 11:28 am
by Alex K.
Hello,

We have checked the Print to PDF function in IE, it works correctly. See the attached screenshot. For the correct printing in PDF, the Adobe plug-in for IE needs to be installed, other browsers have a built-in PDF viewer. Please install this plugin from the Adobe site.

Thank you.

Re: Print to PDF in Internet explorer

Posted: Fri Sep 22, 2017 10:59 am
by IskandarAir
Hi,

We also checked whether adobe flash player is installed or not. Apparently, it is switched on (see image attached). And when we click print to pdf. PrintREport (no file extension) is being returned as a file. Could you please share your code or give another hint how to overcome it? we tested on windows 10's internet explorer and windows 8's internet explorer. Both have switched on adobe flash player plugin.


Regards,
Iskandar

Re: Print to PDF in Internet explorer

Posted: Fri Sep 22, 2017 12:35 pm
by Alex K.
Hello,

We have tested PDF printing from MvcViewer (HTML5) on the latest version of Internet Explorer (Windows 10), printing to PDF is done correctly. Please run our test project. Perhaps there are some issues with your project.

Thank you.