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

Home » Public Forums » archive » Re: Color printing to a Lexmark 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: Color printing to a Lexmark printer [message #20293] Fri, 02 June 2000 00:00 Go to previous message
wbiagiot is currently offline  wbiagiot
Messages: 59
Registered: January 1999
Member
Mirko Vukovic <mvukovic@taz.telusa.com> wrote in message
news:8h8oto$u0s$1@nnrp1.deja.com...
> I just went through an exercise on color printing to a Lexmark
> (Optra SC 1275) printer on our network (this is idl 5.3.1 on WinNT4).
>
> Setting set_plot,'printer' and device,/true_color or /indexed_color
> did not produce color output.
>
> The only way to do it was set_plot,'pcl' and device,/color to generate
> a pcl file. I then used the PrintFile utility program to send the file
> to the printer and got my color output.
>
> Does this jibe with other folk's experience?
>

I stand by my earlier statement that the following should work assuming that
the printer driver is set to color output (as per an earlier post). If it
is set to B&W, it will come out in grayscale.


TVLCT, rtable, gtable, btable, /GET ; Get current palettes
set_plot, 'PRINTER'
TVLCT, rtable, gtable, btable
.
.
<plot commands>
.
.
DEVICE, /CLOSE_DOCUMENT
<remember to set_plot back to prior device>


Hope this helps. Mirko - sorry, I also sent this by accident to your email
address. Whoops.

Bill B.
Advanced Testing Technologies
[Message index]
 
Read Message
Read Message
Previous Topic: Filtering data in multidimensional arrays
Next Topic: Postscript Output with Object Graphics?

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

Current Time: Wed Oct 08 17:35:54 PDT 2025

Total time taken to generate the page: 0.00424 seconds