Re: PrintScreen [message #10992] |
Mon, 23 February 1998 00:00 |
David Foster
Messages: 341 Registered: January 1996
|
Senior Member |
|
|
Kelly Dean wrote:
>
> The Windows NT version of IDL 4.0 had a print screen option from its
> menu bar that allow you to print the graphics from an active window.
> This option has been removed from IDL 5.0 - bummer!
>
> The macro option on the menu bar in IDL 5.0 allows you to run IDL
> commands. Has anyone try making a simple procedure to capture the active
> window and send it to a HP print located on a NT network?
>
> Kelly
If you are a widget-type programmer, my routine WINDOW_TO_FILE.PRO
may be useful. You just need the window ID, and you can save the
contents of the window to a file, in various formats (TIFF, GIF, BMP,
PICT). You can also print to the default printer.
You can download this via anonymous ftp from:
bial8.ucsd.edu : pub/software/idl/share/idl_share.tar.gz
There is also a .doc file that explains the usage.
Hope this helps.
Dave
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
David S. Foster Univ. of California, San Diego
Programmer/Analyst Brain Image Analysis Laboratory
foster@bial1.ucsd.edu Department of Psychiatry
(619) 622-5892 8950 Via La Jolla Drive, Suite 2240
La Jolla, CA 92037
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
|
|
|