PreventDefault on Control+P does not hide the printing dialog

Fixed Issue #15498011


Philipp S.
Jan 17, 2018
This issue is public.
Found in
  • Microsoft Edge
  • Internet Explorer
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

It’s currently not possible to avoid the print dialog when Control+P is pressed in Edge. The same issue is also available on IE11 but there exists a (nasty) workaround, described in the issue discussion at PDF.js 1.

Since we need to do asynchronous pre-processing before the print dialog can be shown, it is important that the default print dialog can be prevented.


1 attachment

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Steven K.”

  • Hi Philipp,

    I tried to repro this but was not able to in Edge on Windows 10 16299.248.  I have attached my repro HTML file.  It is based on pdf.js’s polyfill code but without the workaround, E.g. the attachEvent()

    Let me know what you think,


  • Microsoft Edge Team

    Changed Status to “Fixed”

    Changed Assigned To to “James M.”

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

Sign in