1

Normally window.print() is used printing webpage, it trigger print dialog box of browser.

Now my question is how can we bypass this printing dialog box and directly print the web page? is there any way by I could avoid to click on OK button?

Julian
  • 33,915
  • 22
  • 119
  • 174
hiren parmar
  • 11
  • 1
  • 2
  • It's possible if you are using IE, others like Chrome, Firefox, Safari...may not work. – Quan Nguyen Aug 22 '15 at 06:28
  • can you tell me why its not working with Chrome, Firefox, Safari,etc.., and how it'll work with IE and could please provide me code.??? – hiren parmar Aug 25 '15 at 10:30
  • 1
    possible duplicate of [HTML / Javascript One Click Print (no dialogs)](http://stackoverflow.com/questions/9213660/html-javascript-one-click-print-no-dialogs) – Gary Aug 25 '15 at 13:21

1 Answers1

0

Nowdays I believe you could avoid the print dialog from any application by using some cloud printing REST API. So far I only know of PrintNode and Google Cloud Print:

Hope this helps.

Camilo
  • 6,504
  • 4
  • 39
  • 60