LIVE_PRINT

The 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).

Calling Sequence

LIVE_PRINT

Arguments

(None)

Keywords

DIALOG

Set this keyword to have a print dialog appear.

ERROR

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.

SETUP

Set this keyword to have a printer setup dialog appear (Macintosh users only).

WINDOW_IN

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.

Example

LIVE_PRINT, WINDOW_IN='Live Plot 2'

See Also

DIALOG_PRINTJOB, DIALOG_PRINTERSETUP, Using IDL Insight