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

Home » Public Forums » archive » Window Contents Directly to Printer
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: Window Contents Directly to Printer [message #11358 is a reply to message #11247] Fri, 20 March 1998 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
John Smith aka Samual Haimov (jsmith@company.com) writes:

> Long time ago I tried to use PRINTER device and I found that
> the quality of the print is not very good.
>
> I tried it again now using print_it and as before it came out
> with poorly printed labels, etc.
>
> Am I not doing something right or as I suspected before this
> is what you get when the video is used ?
>
> The reason I have some doubts about doing something wrong is that
> instead of printing directly to the printer I get an encapsulated
> postscript file xprinter.eps

Uh, this wasn't the BEST program I ever wrote, but I'm
pretty darn sure it doesn't produce encapsulated PostScript
output. :-)

Try renaming the file to print_it_darn_it.pro. Compile the
file like this:

IDL> .Compile print_it_darn_it

Then try to run the Print_It program.

IDL> Window, XSize=300, YSize=300
IDL> TV, Dist(300)
IDL> Print_It, 0

Now you should be running the write Print_It program. :-)

I think you were finding the wrong Print_It program. To
see which program you have, type this:

Help, /Source

It will tell you what directories your compiled procedures
and functions were found in.

Cheers,

David
-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Reading string array
Next Topic: call_external question

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

Current Time: Fri Oct 10 14:08:04 PDT 2025

Total time taken to generate the page: 1.28017 seconds