Anyone has idea on how to Open print preview on IE with a button click?

I wan't to open the Print preview of IE 11 autimatically instead of the usual print pop up box.

Hi Jan,

can you clear more?

If you want this preview you can simple use js code-

"window.print();"



Regards

Rahul Sahu

Rahul Sahu wrote:

Hi Jan,

can you clear more?

If you want this preview you can simple use js code-

"window.print();"



Regards

Rahul Sahu

 

 hi, thank you for your response. I want to open the preview on Internet Explorer 11 not in chrome. if i use window.print() it shows the print popup directly not the preview:

Rahul Sahu wrote:

Hi Jan,

yes you are right,

see below link

https://forums.asp.net/t/1095049.aspx?access+print+preview+option+of+internet+explorer

https://stackoverflow.com/questions/230205/how-can-print-preview-be-called-from-javascript

https://stackoverflow.com/questions/2555697/window-print-not-working-in-ie 


Regards

Rahul sahu

 Hi @Rahul sahu, i already tried those solutions, but when i apply it to the outsystems i'm getting this error:
"DOM7011: The code on this page disabled back and forward caching. "

thank you
Regards,
Tyrone.