Print to PDF in Internet explorer

Stimulsoft Reports.NET discussion
Post Reply
IskandarAir
Posts: 105
Joined: Thu Aug 17, 2017 12:07 pm

Print to PDF in Internet explorer

Post 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
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Print to PDF in Internet explorer

Post 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.
Attachments
photo_2017-09-21_14-26-57.jpg
photo_2017-09-21_14-26-57.jpg (98.44 KiB) Viewed 2299 times
IskandarAir
Posts: 105
Joined: Thu Aug 17, 2017 12:07 pm

Re: Print to PDF in Internet explorer

Post 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
Attachments
manageOptions.PNG
manageOptions.PNG (100.48 KiB) Viewed 2297 times
InternetExplorerNoPrinting.PNG
InternetExplorerNoPrinting.PNG (144.43 KiB) Viewed 2297 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Print to PDF in Internet explorer

Post 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.
Attachments
IEAdobe.png
IEAdobe.png (60.97 KiB) Viewed 2293 times
MvcViewerPrintPdf.zip
(2.97 MiB) Downloaded 213 times
Post Reply