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

Home » Public Forums » archive » Re: switching PS device from color to b/w?
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: switching PS device from color to b/w? [message #31255 is a reply to message #31253] Wed, 26 June 2002 08:10 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Steve Smith<steven_smith> (nobody@nowhere.com) writes:

> I just found that once you've given the
> /color directive to idl, it retains it,

All PostScript or Z device keywords are "sticky", meaning that they
set the device into a particular state until they are changed.
What you are forgetting is that /COLOR is equivalent to COLOR=1.
If you don't want color you have to set COLOR=0. It is not
uncommon for people who use the "slash" form of keywords
to forget that, since normally they are *not* dealing with
sticky keywords.

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@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
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: changing editors?
Next Topic: how to debug floating error

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

Current Time: Fri Oct 10 01:38:47 PDT 2025

Total time taken to generate the page: 0.63975 seconds