comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Screen printing
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Screen printing [message #15839] Wed, 16 June 1999 00:00 Go to next message
your name is currently offline  your name
Messages: 7
Registered: June 1999
Junior Member
Hi,
I hope this works... it's the first time I've tried it.. so here goes.

I've got an application running IDL 5.2 on various platforms including
X-windows on an Alpha using OpenVMS and Windows NT.
The application uses the whole screen to display a number of draw
widgets, menus, buttons, etc.
Our customers require a button to provide a "screen dump" of the
displays to various printers. They are adamant they do not wish to
provide any further interaction (such as using xwd or something
similar).
The only method I've sort of found is to TVRD each area in turn and TV
them in the correct position in the printer output.
Any suggestions would be gratefully received.
Regards,
Ian
Re: Screen Printing [message #16099 is a reply to message #15839] Mon, 28 June 1999 00:00 Go to previous message
David Foster is currently offline  David Foster
Messages: 341
Registered: January 1996
Senior Member
your name wrote:
>
> It's me again ( I'm not really "enter your name" - see below).
>
> I previously posted a request on obtaining a screen dump of several draw
> widgets. This was answered by David Foster, complete with an IDL routine
> to print a window.
>
> Unfortunately, David, this routine only works for a single draw widget
> window and I have several such widgets all required on one sheet of
> A4!!!
>
> <snip of some example code>
>
> Surely it should be possible for IDL to "dump" a whole screen to a
> file/printer.
> After all, with RETAIN=2, IDL keeps a screen map in its memory why not
> use this?
>
> If anybody has a better workaround for this, I'd be very grateful.
>
> Regards,
> Ian

Ian -

I don't know of a way to do this in IDL. There are two other
approaches I can think of:

1. Use a screen-grabbing utility (eg. Snapshot in Solaris, or
XV for most UNIXes).

2. Save each window to a separate PS file, and use a Postscript
utility to combine these into one page.

Dave Foster

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: can you translate IDL5.1 to IDL2.x...(Hough transform source)
Next Topic: Passing info and destroying widgets...

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:23:18 PDT 2025

Total time taken to generate the page: 0.00405 seconds