Color charts always printed in Black and White

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
NoName
Newbie
Newbie
Posts: 34
Joined: Fri Nov 15, 2002 12:00 am
Location: Italy

Color charts always printed in Black and White

Post by NoName » Thu Dec 13, 2007 10:38 am

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Dec 13, 2007 11:34 am

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;
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

NoName
Newbie
Newbie
Posts: 34
Joined: Fri Nov 15, 2002 12:00 am
Location: Italy

Post by NoName » Thu Dec 13, 2007 3:41 pm

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.

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Dec 17, 2007 9:45 pm

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 ?

NoName
Newbie
Newbie
Posts: 34
Joined: Fri Nov 15, 2002 12:00 am
Location: Italy

Post by NoName » Wed Dec 19, 2007 10:08 am

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.

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Thu Dec 27, 2007 10:27 am

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.

Post Reply