1 Reply Latest reply on Jun 20, 2011 1:20 PM by gkaiseril

    Auto Printing A PDF Using v7 Onwards

    SteveSkilli

       

      I have upgraded to version 10 of Acrobat and I am now having an issue with auto printing a PDF.

       

       

       

      My objective is to load a PDF within a new browser window and for it to print to the default printer without need for the user to do anything. The user will press a button which will activate a perl program with javascript.

       

       

       

      When I was using Acrobat 6 the PDF would print automatically but now it shows an alert stating "This document is trying to print.Do you want to allow this?". Selecting "Yes" prints it to the default printer on the machine.


      The code I currently use which worked in Acrobat v6 (7 onwards it does not work) is,  prInit('this.print({bUI: false, bSilent: true, bShrinkToFit: true});');

       

      Any help with this is appreciated.

       

      Steve