2

I already looked; javascript print without print dialog box

But this opens the popup dialog in chrome.

Or this solution is for Firefox; https://stackoverflow.com/a/11391228/7236291

How can I print silently in chrome? Is there any solution?

Community
  • 1
  • 1
mmu36478
  • 1,295
  • 4
  • 19
  • 40
  • 2
    You are unlikely to find an approach that works everywhere as printing is handled by the OS, not the browser. – Scott Marcus Apr 18 '17 at 13:41
  • 3
    I think this would also be a security problem – Mazz Apr 18 '17 at 13:42
  • Possible duplicate of ["Silent" Printing in a Web Application](http://stackoverflow.com/questions/21908/silent-printing-in-a-web-application) – Ivar Apr 18 '17 at 13:43
  • @scott-marcus Does https://developer.chrome.com/extensions/printerProvider offers a solution to print silently in chrome? – mmu36478 Apr 18 '17 at 13:44
  • @mmu36478 Ok, but that's Chrome. now you need to find a solution for every other browser. You are unlikely to find it. – Scott Marcus Apr 18 '17 at 13:59
  • actually, I'm just looking for Chrome. But couldn't understand the usage of this api. – mmu36478 Apr 18 '17 at 14:03
  • A list of third-party solutions is available here: https://stackoverflow.com/a/28783269/3196753, all of which work with Chrome. The downside is most require a product is installed locally to handle it. – tresf Apr 06 '20 at 19:55

0 Answers0