ngx-printer-demo icon indicating copy to clipboard operation
ngx-printer-demo copied to clipboard

printDiv does not work on mobile browsers

Open dopinder100 opened this issue 3 years ago • 1 comments

I have tried the demo https://plaetzchen79.github.io/ and I must say all work really well.

However, I need to use this component on a mobile angular project. And, I found that the printDiv does not work on mobile browsers (on phones), such as Chrome.

All I get is a new window with a printer icon, and a message which says "There was a problem printing the page. Please try again."

dopinder100 avatar Jun 23 '21 10:06 dopinder100

Sorry i am late as always.

You are right. "Print div to current window" is working for me but not the much easier "print div".

Technically "Print div" opens a new tab with window.open before raising the print call. Perhaps there are mobile limitations - have to ask google

plaetzchen79 avatar Aug 02 '21 14:08 plaetzchen79