Prints empty page in Webhelp in Internet Explorer

Post here questions and problems related to editing and publishing DITA content.
rnvrnv
Posts: 17
Joined: Wed Sep 09, 2015 11:07 am

Prints empty page in Webhelp in Internet Explorer

Post by rnvrnv »

hi all,

when I publish webhelp and use Print feature in Internet Explorer it is empty. Chrome seems to be fine. what could be wrong?

I have IE version 11.0.9600.18697.

thank you in advance,
rnv
bogdan_cercelaru
Posts: 222
Joined: Tue Jul 01, 2014 11:48 am

Re: Prints empty page in Webhelp in Internet Explorer

Post by bogdan_cercelaru »

Hello,

Thank you for reporting this.
I've just tested with latest version of Oxygen v19.0 and the built-in DITA Map WebHelp Classic transformation scenario. I can confirm that when you try to print a page from Internet Explorer 11 the page is empty.
I've registered in issue in our internal bug tracking system to be addressed.
In the meantime, to solve this issue you should open the "DIA_OT_DIR/plugins/com.oxygenxml.webhelp/oxygen-webhelp/resources/skins/desktop/toc_driver.js" file and replace the following function:

Code: Select all


function printFrame(id) {
var frm = document.getElementById(id).contentWindow;
frm.focus();// focus on contentWindow is needed on some ie versions
frm.print();
return false;
}
with the following one:

Code: Select all


function printFrame(id) {
var frm = document.getElementById(id).contentWindow;
frm.print();

return false;
}
Regards,
Bogdan
Bogdan Cercelaru
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
rnvrnv
Posts: 17
Joined: Wed Sep 09, 2015 11:07 am

Re: Prints empty page in Webhelp in Internet Explorer

Post by rnvrnv »

Thank you for your response,

please note that I found this windows issue, maybe it is related:

https://answers.microsoft.com/en-us/ie/ ... d9ae23a477

regards,
rnv
Post Reply