Subscribe Bookmark RSS Feed

Print Window?

ronk

Community Member

Joined:

Aug 13, 2013

Hi,

I am trying to make a script in jmp 10.0 that creates a report after clicking on a button and then prints the report automatically without a Print dialog appearing. For example

dlg=New Window("Print Test",

   Button Box("Submit",

       biv=Bivariate( Y(:YValue),  X(:XValue)  );

       biv<<Report<<Print Window;

       )

);

The above code runs but it does not print the report. The code only works if I make the window modal

dlg=New Window("Print Test", <<Modal,

  Button Box("Submit",

      biv=Bivariate(Y(:YValue), X(:XValue));

     biv<<Report<<Print Window;

     )

);

This is fine, but if the window is modal then there is no status bar at the bottom of the display, and I would like to have a status bar. Is there a way to make Print Window work (without showing a Print dialog) and still have a status bar in the window?