[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Color printing to a Lexmark printer




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