4 Replies Latest reply on Oct 8, 2017 1:04 AM by try67

    Printing Range of Pages to Specific Printer Silently


      Hello Everyone


      Thank you to everyone in this forum, I have found everything most helpful. Great community. I am struggling though at the moment, with understanding the Javascript Reference Manual for Acrobat DC.


      When a page opens I have a Javascript automatically run.


      What I want it to do is print the last 2 pages of the PDF silently to a non default printer.


      This is what I have so far. Can anyone tell me what I'm doing wrong or wether this is even possible?


      I am not sure even where to state what pages I need.


      this.print({bUI: false, bSilent: true, bShrinkToFit: true});

      var pp = this.getPrintParams();

      pp.interactive = pp.constants.interactionLevel.automatic;

      pp.printerName = "EPSON XP-442 445 Series";



      Thanks everyone for any help.


      Kindest regards