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

Home » Public Forums » archive » printing capabilities (newbie)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: printing capabilities (newbie) [message #17318 is a reply to message #17186] Sat, 25 September 1999 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Christophe Geraud (roge@free.fr) writes:

> I need to offer a solution to a customer (using Windows NT).
> The idea is that a user can have some windows on the screen.
> Each window can contain data, picture or curves.
> Then the user want to print the contain of the screen.
> The basic solution could be to print an hardcopy of the screen.

Well, it's a basic solution, but one that most people
find inadequate as soon as they look at a picture of
their numbers. :-( Remember that screen shots are
in device resolution (72 pixels/inch), whereas most
people like to look at hardcopy in printer resolution
(600 pixels/inch).

> Now I think it could be a good idea to offer communication with an other
> tool to make reports. (sorry I don't speak a very good english :-)

Don't worry about it. Most of us don't write very
swell English, either. :-)

> Is it easy to copy data or picture in the clipboard to use them with
> Word97 or any other tool ?

Yes, it is easy if the *user* is doing it. Bring the focus
to the graphics window, type Ctrl-C to put the contents
on the clipboard, open up Word97, and do a Ctrl-V to
paste it into the document.

But is it easy to do it *programmatically*? Well, that
is a different story. I suspect you will have to become
adept at the Visual Basic language that Microsoft uses
to communicate between its suite of business applications.
And this would probably mean writing a DLL for your IDL
application, so you could get the data out of IDL and into
something else.

It can be done. But I don't think it is a half hour
project. :-)

I think I would lean toward producing a page of output
for each graphics window on the display. With some
thinking before-hand, you can easily come up with
something like the XWindow capability where you
could create a PostScript file of a window's
content or send the content directly to a PostScript
file in printer resolution.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Question for MRI folks.
Next Topic: Announce: New Matlab-Compatible Environment

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

Current Time: Thu Oct 09 21:57:04 PDT 2025

Total time taken to generate the page: 1.11453 seconds