window.print() doesnt work from f12 console or when another app has focus

Fixed, not yet flighted Issue #7272136

Details

Created
Apr 20, 2016
Privacy
This issue is public.
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

  1. Open f12 tools

  2. In console, execute window.print()

expected: this should open the print dialogue.

actual:

SCRIPT65535: Unexpected call to method or property access.

preview.js (359,1)

This works in IE and chrome, and I believe it used to work in Edge

 

 

Variant:

  1. Open printtest.htm in Edge

  2. Click the button

  3. Within 5 seconds, change focus to another app

 

Expected: print dialog shows

Actual: print dialog doesn’t show

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Bogdan B.”

      Changed Assigned To from “Bogdan B.” to “Jonathan H.”

      Changed Status to “Confirmed”

      Changed Steps to Reproduce

      Changed Status from “Confirmed”

      Changed Title from “window.print() doesnt work from f12 console” to “window.print() doesnt work from f12 console or when another app has focus”

      Changed Assigned To to “Alper S.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Alper S.” to “Lakshmi M.”

      Changed Assigned To from “Lakshmi M.” to “Alexander W.”

      Changed Status from “Confirmed” to “Fixed”

    • Hello,

      Thank you for providing this information about the issue. We are pleased to report this feature is fixed in Edge 15063 and is available in our latest Creator’s Update build.

      Best Wishes,
      The MS Edge Team

    • Microsoft Edge Team

      Changed Status from “Fixed” to “Fixed, not yet flighted”

      Changed Assigned To from “Alexander W.” to “Lakshmi M.”

    • I too am experiencing a similar issue trying to print any pages from the Edge Browser. If I move the site into the “Trusted Site” Zone the print dialog box appears and I am able to print but anything within the Internet Zone does not print. I am running Windows 10 Enterprise (1703) and Microsoft Edge 40.15063.674.0. One other item worth noting is that I do have EnableLUA set to “0” and if I change this to “1” Printing also works. When I enable the Developer tools and try and print I receive the following error "SCRIPT65535: Unexpected call to method or property access.
      preview.js (358,1)"

      Any help would be greatly appreciated as it is having a significant impact to our machines.

      Thanks,
      Guy

    You need to sign in to your Microsoft account to add a comment.

    Sign in