0 Replies Latest reply on Dec 2, 2009 9:37 AM by Shawskins05

    Custom print button using javascript for landscape document

    Shawskins05

      I am working on a document that has 50+ pages and am wanting to have a print button on most of them to print the exact page. The document is landscape and I need the "Auto-Rotate and Center" toggle to be checked on, but I don't know how to code that. This is what I have so far:

       

      this.print({

      bUI: true,

      bSilent: false,

      bShrinkToFit: false,

      nStart: 2,

      nEnd: 2

      });

       

      Does anyone know how to get the "Auto-Rotate and Center" checked on and where to add it to the code?

       

      Thanks so much for any help.