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

Home » Public Forums » archive » Need Help with PRINTER Problem
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: Need Help with PRINTER Problem [message #21412 is a reply to message #21341] Wed, 23 August 2000 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
David Fanning (davidf@dfanning.com) writes:

> I think I have identified a bug that has been driving
> me absolutely insane for the past 24-hours!

Indeed, RSI confirms this behavior, in which a single
color is loaded into the color table in the PRINTER
device at *any* location and then becomes the background
color, is a bug.

The color, however, is only "officially" loaded into
the correct position in the color table, so one work-around
is to simply get and reload the color table vectors. My
code looks something like this:

yellow = GetColor("yellow", !D.Table_Size-3) ; Load single color
TVLCT, r, g, b, /Get ; These two lines are work-around.
TVLCT, r, g, b
TV, scaledImage

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
Previous Topic: Missing David
Next Topic: HDF-EOS

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

Current Time: Wed Oct 15 21:20:16 PDT 2025

Total time taken to generate the page: 3.36196 seconds