Web Analytics Made Easy -
StatCounter Print multiple PDfs without print dialog in client side javascript - CodingForum

Announcement

Collapse
No announcement yet.

Print multiple PDfs without print dialog in client side javascript

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Print multiple PDfs without print dialog in client side javascript

    Hi,
    I want to print multiple PDfs without print dialog in client side Javascript, Could you please help me on this.

  • #2
    Not possible AFAIK. Printing can only take place on the request of the user. Otherwise people could cause the print out of ads on the user's computer.

    All the code given in this post has been tested and is intended to address the question asked.
    Unless stated otherwise it is not just a demonstration.

    Comment


    • #3
      Print to which printer - if you don't display the dialog then it would go to whatever is the default printer. Even then there are all the printer settings - which tray, double or single sided, resize to fit or not. All reasons why the dialog is always needed and why no provision was made for turning it off.
      Stephen
      Learn Modern JavaScript - http://javascriptexample.net/
      Helping others to solve their computer problem at http://www.felgall.com/

      Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

      Comment

      Working...
      X