LIVE_PRINT procedure allows the user to print a given window to the printer. It uses Insight's preferences for print scaling (stretch, aspect ratio, and no scaling).
Set this keyword to have a print dialog appear.
Set this keyword to a named variable to contain the returned error message (string). An empty string is returned if no errors occurred during the operation. By default, errors are reported via a GUI.
If a named variable is passed in this keyword and an error occurs, the error GUI will not be displayed.
Set this keyword to have a printer setup dialog appear (Macintosh users only).
Set this keyword equal to a name (string, case-sensitive) of a LIVE tool or Insight window, or a LIVE tool buffer. The WINDOW tag of the REFERENCE_OUT structure from the creation of the LIVE tool will provide the window or buffer name. Window names are also visible in visualization window titlebars. If only one LIVE tool or Insight window (or buffer) is present in the IDL session, this keyword will default to it.
LIVE_PRINT, WINDOW_IN='Live Plot 2'
Using IDL Insight