IE8 hangs while printing using windows.print() works fine in mozila - InfoPath Dev
in

InfoPath Dev

IE8 hangs while printing using windows.print() works fine in mozila

Last post 11-07-2013 02:26 AM by Sijo229. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 10-28-2013 08:15 AM

    IE8 hangs while printing using windows.print() works fine in mozila

    We are using a javascript "windows.print()" in a hyperlink from Infopath form in share Point. This is working sometime first two or three times and then it hangs, then we have to kill the IE8. If we right click on the form give print it will work fine. The same is working fine in Mozila. Please let me know if any more information is required. Please could you advise

    Also if you can advise any other option to print also will be helpful.

     

     Thanks, Sijo Joseph

  • 11-07-2013 02:26 AM In reply to

    Re: IE8 hangs while printing using windows.print() works fine in mozila

    Changed the code to below and it worked

    <Script language=JavaScript>
    function openDialog(){
    // Prompt user where to save, or use a input type of file
    document.execCommand("Print",true,null);
    }
    </Script>
     
    <input type="button" id="htmlBtn" value="Save as an HTML document" onClick="openDialog()">
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.