Page 1 of 1

Floating Point Overflow

PostPosted: Fri Oct 09, 2009 4:23 am
by wimpy
I got the message "floating point overflow" when attempting to print a jpg file on my home network printer. The same file printed fine using Windows Paint. Any help would be appreciated.

PostPosted: Fri Oct 09, 2009 9:52 am
by Neosoft Support
We haven't had any other reports of printing problems in NeoPaint, so I'm not sure exactly what to suggest.

Does the error occur when you try to print other jpegs or only this specific one? If the problem only occurs with this specific image, can you send us a copy?

PostPosted: Sat Oct 10, 2009 6:07 am
by wimpy
It happens with all jpg files - and bmp files as well. As i said, the same files load and print through Windows Paint normally.

PostPosted: Sat Oct 10, 2009 10:29 am
by Neosoft Support
No problems printing either of those file formats here. It may be that NeoPaint is asking your printer for information that it doesn't understand. I would suggest that you go to your printer manufacturer and download and install the latest driver for your printer.

PostPosted: Sun Oct 11, 2009 7:51 am
by wimpy
The printer is a HP Color Laserjet 1600. According to the HP site there is only one driver available ~ June 2007, the one I'm using. In view of the fact that all other files print OK from a host of other programs, Word, Adobe PDF Reader, etc I'm inclined to think that it is a problem with Neopaint and not the driver. It's no big deal - I'll do what I'm doing now ie save and reload in Paint.

PostPosted: Mon Oct 12, 2009 9:58 am
by Neosoft Support
Other HP printers seem to work OK, but I'll download the HP Color Laserjet 1600 driver and see if I can reproduce the problem here.

PostPosted: Mon Oct 12, 2009 2:19 pm
by Neosoft Support
I downloaded and installed the HP Color LaserJet 1600 driver. (Since we don't actually have this printer model on hand, I had to print to a file rather than paper. This is usually sufficient to test printer driver.)

Printing to this driver from NeoPaint appeared to work correctly for me. I did not receive any error messages. However, searching HP's support forum there appear to be problems with some HP drivers under certain configurations and applications developed with Delphi:

This is actually a bug in the HP drivers rather than Delphi. Apparently, the bug can be avoided by temporarily turning off the CPU's floating point co-processor while printing. Evidently, this is what Microsoft does with its compilers.