Print Exception

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
bill.tarlinton
Newbie
Newbie
Posts: 4
Joined: Mon Feb 01, 2010 12:00 am

Print Exception

Post by bill.tarlinton » Tue Feb 09, 2010 3:08 am

Currently, I try to update teeChart from version 7 to version 8 for one of the products of my company.

When I print the chart using the printer "hp-laserjet-2840", it works fine.
When I print the chart using the printer "HP Color Laser Jet 2600n", It crashed with the exception "Floating point overflow".

I did test version 7. Version 7 works fine for both printers.

Then I wrote a small application to test this issue. Same thing again.

Attached is the small application I mentioned before. Could you give me some suggestions to solve this problem?

To regenerate the bug:
-run the attached application
-Press addSeries Button
-Press addPoints Button
-Press ShowMarks Button
-Press Print Button
On TeeChart Print Preview
-Press Print Button again. ->> Exception

Regards
Lizhi
Attachments
Source.zip
(31.91 KiB) Downloaded 236 times

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

Re: Print Exception

Post by Narcís » Tue Feb 09, 2010 10:03 am

Hi Lizhi,

Yes, this is a known issue with Windows and some printer drivers. The issue was discussed here and the best solution is what dka suggested.

Hope this helps!
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

bill.tarlinton
Newbie
Newbie
Posts: 4
Joined: Mon Feb 01, 2010 12:00 am

Re: Print Exception

Post by bill.tarlinton » Wed Feb 10, 2010 3:41 am

Hi Narcís,

That works. Cheers

Lizhi

Post Reply