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 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Color printing to a Lexmark printer [message #20293] Fri, 02 June 2000 00:00
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
Re: Color printing to a Lexmark printer [message #20294 is a reply to message #20293] Fri, 02 June 2000 00:00 Go to previous message
Ben Tupper is currently offline  Ben Tupper
Messages: 186
Registered: August 1999
Senior Member
Hello,

I haven't had the kind of experience you describe.

Heads up regarding the PCL device; the PCL device has trouble switching
between landscape and portrait mode.
I can't remember the which one it will not do, but it turned out to be a
bug in IDL (logged with RSI).
I spun my wheels for a week trying to figure out the PCL device. I could
get it to work from UNIX
(with the exception of orientation, but from WIN98 I got nothing but
trouble: big files filled with
gibberish.

Ben


Mirko Vukovic wrote:

> 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?
>
> (as a side-note, I was unable to obtain color prints on that printer
> with Ghostview 2.9 and Ghostscript 6.01. Someone else might have
> better luck.)
>
> Mirko
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.

--
Ben Tupper
Pemaquid River Company
248 Lower Round Pond Road
POB 106
Bristol, ME 04539

Tel: (207) 563-1048
Email: PemaquidRiver@tidewater.net
  Switch to threaded view of this topic Create a new topic Submit Reply
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 19:43:36 PDT 2025

Total time taken to generate the page: 0.00936 seconds