Page 1 of 1

Color charts always printed in Black and White

Posted: Thu Dec 13, 2007 10:38 am
by 8441073
Hello,

I noticed that, using a Laser Color Printer, when I print a TeeChart, it is always printed in black and white.
I tried using the TeeChartPreview.
I tried also using the TQRChart component on Delphi.

The printer used is Xerox Phaser 8550DP.

I forced the printer settings to print using colors, I also forced a color mapping: the chart printed is always in black and white.

On the other side, if I export the chart to a bitmap, and print it using MS Paint, it works: it is printed in colors!

Is there any setting to set?
Thank you

Posted: Thu Dec 13, 2007 11:34 am
by narcis
Hi NoName,

You could try forcing this programmatically using the approach Marjan suggested here and adding the line below to the code.

Code: Select all

      pDMode^.dmColor := DMCOLOR_COLOR;

Posted: Thu Dec 13, 2007 3:41 pm
by 8441073
Hello NarcĂ­s,

unfortunately it has no effect.
When I use PrintPreview dialog, I see my chart in colors, but when I print it on a color printer, the chart is printed in black&white.

I also changed the printer, but the chart is still printed in black&white.

Even if I use a TQRchart (which doesn't show any PrintPreview dialog)...
in that case, if I preview the report, the chart is colorful, but if I print it, it is printed in black&white.

I don't think the reason could be the windows driver, because if I export the chart and print it using any imaging program, the chart is printed in colors.

Posted: Mon Dec 17, 2007 9:45 pm
by Pep
Hi,
most likely the problem is related with the printer driver, I remember som customer having the same problem with specific printers and they solve it by using other printer driver.
Does this happens with this specific printer ?
Have you tried to use other printer driver ?

Posted: Wed Dec 19, 2007 10:08 am
by 8441073
Hi Pep,

I downloaded the latest printer driver from HP, for that pinter model (Xerox Phaser 8550DP).

I can try using another printer, maybe an ink-jet one, instead of laser.

But if it were the printer driver, isn't it strange that other application will print correctly in colors?

anyway, I'll keep you informed.
Thank you.

Posted: Thu Dec 27, 2007 10:27 am
by Pep
Hi,

yes, it seems that this should not make to change it, but it does, because sometimes it can use specific pen modes and styles which could help these problems to appear.