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 
Switch to threaded view of this topic Create a new topic Submit Reply
printing capabilities (newbie) [message #17186] Fri, 24 September 1999 00:00 Go to next message
Christophe Geraud is currently offline  Christophe Geraud
Messages: 3
Registered: September 1999
Junior Member
Hello,

Is it possible to print a set of windows ?
or: is it possible to copy curves and images and table in a single
window ?


Thanks

Christophe Geraud
Re: printing capabilities (newbie) [message #17314 is a reply to message #17186] Mon, 27 September 1999 00:00 Go to previous message
Christophe Geraud is currently offline  Christophe Geraud
Messages: 3
Registered: September 1999
Junior Member
After that, it seems a good approach, could be to offer basics services :
- print screen (via postscript convertion)
- copy to clipboad

Thanks for your help
Have a good day

Christophe
Re: printing capabilities (newbie) [message #17318 is a reply to message #17186] Sat, 25 September 1999 00:00 Go 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
Re: printing capabilities (newbie) [message #17319 is a reply to message #17186] Sat, 25 September 1999 00:00 Go to previous message
Christophe Geraud is currently offline  Christophe Geraud
Messages: 3
Registered: September 1999
Junior Member
Liam Gumley wrote:

> Christophe Geraud wrote:
>> Is it possible to print a set of windows ?
>
>

First, thanks for your answer

>
>
> Can you be more specific and give us an example of what you'd like to
> do?
>

Yes !
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.

I used PV-Wave 6.0 three years ago. As I can remember, PV-W has no
reporting facilities. True ?

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 :-)

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

Any suggestions are welcome
Thanks for help

Christophe Geraud
Re: printing capabilities (newbie) [message #17326 is a reply to message #17186] Fri, 24 September 1999 00:00 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
Christophe Geraud <geraud@realix.fr> writes:
>
> Is it possible to print a set of windows ?
> or: is it possible to copy curves and images and table in a single
> window ?

As others of have pointed out, you haven't given us enough
information to make a complete answer.

If you run on Unix, consider my one-button print solution under
X-windows, called XFWINDOW. Unlike the screen-dump solutions,
XFWINDOW preserves the graphics commands precisely as you type them,
so the output comes with full fidelity. It is included in the
xfilter-0.6 package, available from this web page:

http://cow.physics.wisc.edu/~craigm/idl/idl.html

Be sure to download xfilter-0.6.tar.gz. XWINDOW (without the "F") is
a different program from XFWINDOW (with the "F"). Full documentation
is included in 00README. Soon I will have a new version which
simplifies installation even more.

If there are any IDL folks out there experienced in compiling DLM's
for IBM or HP unix machines, please let me know. I would like to get
these working as well. Or download the source and take a look at it.
It's tricky, so feel free to contact me.

Thanks,
Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Question for MRI folks.
Next Topic: Announce: New Matlab-Compatible Environment

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

Current Time: Wed Oct 08 15:55:32 PDT 2025

Total time taken to generate the page: 0.00689 seconds