18 Replies Latest reply on Feb 26, 2016 12:02 PM by prithviraj s

    Javascript PrintAll problem

    dotcom87

      Hello all,

       

      I'm having a problem when printing multiple pdf documents. I'm doing the print in a JS-file (javascript) and I'm doing it this way :

       

      for(var i = 1; i <= copies; i++) {

                          document.acrobatPrint.PrintAll();

      }

       

      So the document is printed silently without user interaction.

       

      The problem is that not all documents that I sent to the printer are printed. Sometimes the first document is printed, sometimes the last ...

      I read somewhere that this is due to the PrintAll function, but I don't seem to find a working solution.

       

      Can anyone help me and solve this urgent problem?

       

      Kind regards,

       

      dotcom87