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

Home » Public Forums » archive » no grayscale on PCL 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
no grayscale on PCL printer [message #44782] Wed, 13 July 2005 09:29 Go to previous message
Benjamin Hornberger is currently offline  Benjamin Hornberger
Messages: 258
Registered: March 2004
Senior Member
Hi all,

I have the following problem: I am using the PRINTER device to print a
byte image in index-color mode. On my computer (Win XP), I have my
office printer (HP Laserjet 4000N) installed twice, once with a PS
driver, once with a PCL driver. If I choose the PS driver
(dialog_printersetup()), the image comes out fine, if I choose the PCL
driver, it comes out in pure black-and-white (no grayscales). If I want
to print the image with a predefined colortable, it's still ok with the
PS driver (even though it comes out in grayscale, since it's not a color
printer), and with the PCL driver the whole image is black.

The two drivers behave slightly differently in other applications, but
not like that.

To set up the printer, I do:

[make sure the correct color table is loaded]
ok = dialog_printersetup(dialog_parent=event.top)
IF ~ok THEN return
set_plot, 'printer', /copy
!p.font = 1 ;; true type
!p.noerase = 1
device, /index_color
...

Any clues? Thanks for your help,

Benjamin
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Plotting a trajectory against a mapped image
Next Topic: Re: erratic EOF encountered when reading in similar data

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

Current Time: Mon Oct 27 00:32:24 PDT 2025

Total time taken to generate the page: 5.75874 seconds