WordPress.org

Support

Support » Plugins and Hacks » Print Button Shortcode » [Resolved] [Plugin: Print Button Shortcode] Not working with IE

[Resolved] [Plugin: Print Button Shortcode] Not working with IE

Viewing 3 replies - 1 through 3 (of 3 total)
  • I found the root cause.

    IE doesn’t like the new window name to have spacebar. So we must change this line
    w=window.open(null, 'Print_Page', 'scrollbars=yes');

    Then we still cannot print yet. There must be this line
    w.document.close();
    before the print command
    w.print();

    Now it works.

    I am having the same problem you had. Thanky you for posting your solution. What did you do to change the line
    w=window.open(null, ‘Print_Page’, ‘scrollbars=yes’);

    Did you do anything to edit any other lines or did you just insert the w.document.close(); line on the line before w.print(); ?

    Just edit and insert the lines you mentioned, as I remember.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: Print Button Shortcode] Not working with IE’ is closed to new replies.
Skip to toolbar