jQuery.print icon indicating copy to clipboard operation
jQuery.print copied to clipboard

Wont Print in new version of chrome

Open mrnotepad opened this issue 3 years ago • 9 comments

Wont Print in new version of chrome Version 99.0.4844.51 (Official Build) (64-bit)

mrnotepad avatar Mar 10 '22 09:03 mrnotepad

Did it throw an error on the console?

CitizenOfRome avatar Mar 10 '22 09:03 CitizenOfRome

can't preview the console while printing... while in firefox it's working.

also the examples online not working.

mrnotepad avatar Mar 10 '22 09:03 mrnotepad

Can you try the same with iframe: false to see if it throws an error there?

CitizenOfRome avatar Mar 10 '22 09:03 CitizenOfRome

globalStyles: true, mediaPrint: false, stylesheet: true, noPrintSelector: ".no-print", iframe: false, append: null, prepend: null, manuallyCopyFormValues: true, deferred: $.Deferred(), timeout: 750, title: null, doctype: ''

mrnotepad avatar Mar 10 '22 09:03 mrnotepad

Seems to be working on Version 99.0.4844.51 (Official Build) (x86_64) Chrome for Mac though. In case you or anyone else can share a console log of any errors while printing, that'll be really useful

CitizenOfRome avatar Mar 10 '22 10:03 CitizenOfRome

Turns out to be the gramarly chrome extension! disabled it and viola working again!

mrnotepad avatar Mar 10 '22 14:03 mrnotepad

I am having the same issue with Chrome 99, Firefox and Edge work OK.

When it fails the print window does not open, the page is becomes non-interactive and there are no JS console errors. With the iframe: false option the print window opens in a new tab but it doesn't respond to interactions, neither does the main webpage, not even F12.

w33zy avatar Mar 23 '22 13:03 w33zy

I was having the same issue as @mrnotepad. I disabled Grammarly and it's working now.

claytonwinterbotham avatar Apr 02 '22 23:04 claytonwinterbotham

After the last comment I decided to go through all my extensions and disable them 1 by 1 since I don't have Grammarly. It seems my issue was due to the Dark Reader extension.

So, Dark Reader can be added to the list of Chrome extensions that causes this issue.

w33zy avatar Apr 02 '22 23:04 w33zy