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

Support for mobile devices

Open Messa1 opened this issue 4 years ago • 4 comments

Expected behaviour

Printing same as on desktop device.

Observed behaviour

I test it on android chrome. And it would print the whole page.

Steps to reproduce the issue

Open chrome and test your script :)

Browser and operating system

android chrome

Messa1 avatar Jun 16 '21 06:06 Messa1

See https://github.com/DoersGuild/jQuery.print/issues/71#issuecomment-334175190

P.S. It should work as expected in Chrome 61+, it was broken due to a browser bug There's no js based print support on Firefox for Mobile yet - a workaround is to use the iframe: false option and ask your users to manually hit print from the firefox options on the print window that opens up

Anecdotally: It works for the most part on a Chrome 91 / Android 10 device Any PRs to fix/improve this are of course welcome, as are pointers on what could be changed to make it work flawlessly on various mobile devices

CitizenOfRome avatar Jun 17 '21 09:06 CitizenOfRome

Same problem for me. When printing from Google Chrome on Android, the whole page gets printed. When I switch from iframe: true to iframe: false, it won't even load the printing preview.

JuliusMaskow avatar Feb 02 '22 16:02 JuliusMaskow

Same problem for me. When printing from Google Chrome on Android, the whole page gets printed. When I switch from iframe: true to iframe: false, it won't even load the printing preview.

Same for me, did you found any solutions?

M4x28 avatar Oct 04 '23 19:10 M4x28

Long time ago... I think i switched to "printjs" or "printThis".

JuliusMaskow avatar Oct 05 '23 08:10 JuliusMaskow