0 Replies Latest reply on Mar 6, 2008 12:32 AM by (Matthias_gaertner)

    print pdf from another frame in IE via javascript

      I am responsible for a little web application. There we have 2 frames. In one frame is an pdf-file, this frame is not visible for the user. In the other frame is an button. By clicking the button the pdf-file should be printed.
      The onclick event handler of the button looks like that:
      parent.pdf.focus();
      parent.pdf.print();
      This works with firefox with all acrobat reader versions and IE up to acrobat reader version 6. But there is a problem with IE an adobe reader plugin version 7 and 8. In this constellation the user is presented the normal printing dialog of the IE and not the printing dialog of the adobe reader plugin.
      Is there any workaround to solve the problem.
      Pressing the print-button of the adobe reader plugin is no solution because the frame with the pdf-file is not visible for the user.
      Thanks a lot
      Matthias G.